Questions tagged [wolfram-mathematica]
Wolfram Mathematica is a computer algebra system and programming language from Wolfram Research. Mathematica has its own StackExchange site at http://mathematica.stackexchange.com/
                24 questions
            
            
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                18
            
            views
        
        
            
        Compute the flood polynomial of one graph using Mathematica
                    Reference: arXiv:2504.04233
Example 2.12: 4-vertex cycle graph
Structure: Square graph with 4 vertices
Flooding cascade sets: 7 total (2 of size 2, 4 of size 3, 1 of size 4)
Key insight: Opposite ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                16
            
            views
        
        
            
        Gremban Expansion for Signed Networks and Community–Faction Detection
                    I made Mathematica demonstration of Gremban Expansion for Signed Networks and Community–Faction Detection based on the 2 algorithms provided in arXiv:2509.14193.
...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                38
            
            views
        
        
            
        Count triangles in K₄-free graphs
                    Port the Python code provided in the appendix of arXiv:2509.12100 to Mathematica code.
The Wolfram code successfully:
✅ Constructs all 6 graph types correctly
✅ Detects K₄-free properties
✅ Counts ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                14
            
            views
        
        
            
        Demonstration of the Power Contamination Problem on Grids Revisited in Mathematica
                    The implementation successfully demonstrates all key findings from the research paper arXiv:2509.12756, including the disproof of the original conjecture and the establishment of the correct formula ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                23
            
            views
        
        
            
        Expansion of the Rasala polynomials for symmetric group character degrees using Mathematica
                    I'd like to use Mathematica to demonstrate the expansion of the Rasala polynomials for symmetric group character degrees accroding to arXiv 2509.13190
The code is as follows. You may try it online!
<...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                18
            
            views
        
        
            
        Mathematica implementation of Lempel method for constructing Costas arrays
                    I ported C++ implementation of Lempel method for constructing Costas arrays to Mathematica.
How to fix my code? Thanks in advance.
...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                55
            
            views
        
        
            
        Use Mathematica to calculate Treewidth
                    The treewidth is a measure of the count of original graph vertices mapped onto any tree vertex in an optimal tree decomposition.
I wrote Mathematica code to calculate Treewidth
based on the Python ...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                34
            
            views
        
        
            
        Mathematica implementation of Welch method for constructing Costas arrays
                    I ported C++ implementation of Welch method for constructing Costas arrays to Mathematica.
Any feedback would be appreciated.
...
                
            
       
        
            
                3
            
            votes
        
        
            
                0
            
            answers
        
        
            
                41
            
            views
        
        
        Mathematica Code Demonstration of Elliptic and q-Analogs of the Fibonomial Numbers
                    This code covers:
Standard Fibonacci numbers.
Fibonacci factorials.
Standard Fibonomial numbers.
q-analogs of integers.
q-Fibonacci numbers.
q-Fibonacci factorials.
q-Fibonomial numbers (both (...
                
            
       
        
            
                5
            
            votes
        
        
            
                1
            
            answer
        
        
            
                82
            
            views
        
        
            
            
        The Routh-Hurwitz criterion in Mathematica implementation
                    The Routh-Hurwitz criterion is a mathematical test that provides conditions for the stability of a system by analyzing the signs of the determinants of specific matrices derived from the system's ...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                74
            
            views
        
        
            
        Brzozowski Algebraic Method for converting finite automaton from NFA to DFA
                    The Brzozowski Algebraic Method is a technique used in automata theory, specifically for constructing the minimal deterministic finite automaton (DFA) from a given nondeterministic finite automaton (...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                71
            
            views
        
        
            
        Expansion in place
                    Background
I'm calculating complicated and huge terms that I need to integrate three times w.r.t. to three angles. My ansatz was to expand the terms, manually sort them into a 3D association and ...
                
            
       
        
            
                5
            
            votes
        
        
            
                0
            
            answers
        
        
            
                122
            
            views
        
        
            
            
            
        Plot of massless particles on the unstable null circular geodesic
                    My friend and I were trying to reproduce Figure 4(left), page 7, from the paper "Probing phase structure of black holes with Lyapunov exponents", Guo 2022. We succeeded in reproducing the ...
                
            
       
        
            
                8
            
            votes
        
        
            
                1
            
            answer
        
        
            
                174
            
            views
        
        
            
            
            
        Butter side up?
                    I've written a piece of code that determines if a piece toast with butter lands on the butter-side or not, depending on its initial velocity and the table height.
The code is written in Mathematica ...
                
            
       
        
            
                8
            
            votes
        
        
            
                0
            
            answers
        
        
            
                152
            
            views
        
        
            
            
        Simulation of a mechanical arm
                    The code that I am doing is to simulate a scenario where a mechanical arm search pieces closer and these pieces selected the mechanical arm leaves in a position defined closer.
...