stochastic-collatz-map
Stochastic-like characteristics of arithmetic dynamical systems: the Collatz hailstone sequences
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: iop.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.8%) to scientific vocabulary
Keywords
Repository
Stochastic-like characteristics of arithmetic dynamical systems: the Collatz hailstone sequences
Basic Info
- Host: GitHub
- Owner: Jaderpolli
- Language: Julia
- Default Branch: main
- Homepage: https://doi.org/10.1088/2632-072X/ad271f
- Size: 15.6 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Stochastic-like characteristics in Collatz Map
In this repository, all codes necessary to study the presence of stochastic behavior in the hailstone sequences of the Collatz Map are provided. These codes were used to obtain the results of the paper Stochastic-like characteristics of arithmetic dynamical systems: the Collatz hailstone sequences accepted for publication at Journal of Physics: Complexity with contributing authors Jaderson G. Polli, E. P. Raposo, G. M. Viswanathan and M. G. E. da Luz.
Description
The repository contains the folder "Julia" containing all codes necessary to obtain the results. In the next section, the details on how to install and run the codes to obtain the data will be detailed.
Instalation and Run Guide
All codes are written in Julia Language, then, after cloning this repository and before running the codes, one needs to properly install the Current Stable release of Julia and the packages listed below. In the process of obtaining the results of the paper, Julia 1.7.2 was used.
The following packages are necessary to properly reproduce all results:
PrimesRandomCombinatoricsCSVDataFramesDelimitedFilesCurveFitStatsBaseFFTWLsqFitLinearAlgebra
Additionally, if one wishes to reproduce the figures, the following packages are also needed:
PlotsColorsColorSchemesColorSchemeToolsLaTeXStrings
The installation of the packages, and verifying possible updates, are done together with the running of all codes in the file run_all.jl inside the Julia folder.
Then, to install the necessary packages and run all codes, simply open the Julia terminal on the main directory and run
include("Julia/run_all.jl")
This simple command will run all codes, in the following order:
- Generating and saving all initial conditions;
- Iterating and saving all orbits from all initial conditions;
- Transform the orbits into stationary time series;
- Calculate the increments time series from the stationary ones;
- Run the Power Spectrum, DFA, Autocorrelation and von Neumann Entropy calculations;
- Obtain the mean, standard deviation, and p-values for Power Spectrum, DFA and von Neumann Entropy distributions.
Reproducing Figures
To reproduce the Figures, you must be sure that all needed packages listed above are installed, and then, from a Julia terminal opened in the figure code folder, run:
include(fig1.jl)
include(fig2.jl)
include(fig3.jl)
include(fig4.jl)
include(fig5.jl)
include(fig6.jl)
include(fig7.jl)
include(fig8.jl)
include(fig9.jl)
include(appendix.jl)
This will create all figures and subfigures in separate .pdf files. Make sure to run all codes and generate all data before plotting.
Owner
- Name: Jaderson
- Login: Jaderpolli
- Kind: user
- Location: Curitiba, Brasil
- Company: Universidade Federal do Paraná
- Twitter: jaderpolli
- Repositories: 2
- Profile: https://github.com/Jaderpolli
Physics Ph.D. student. Investigating the dynamics and complexity in dynamical systems.
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: stochastic-collatz-map
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Jaderson
family-names: Polli
email: jaderpolli99@gmail.com
affiliation: Universidade Federal do Paraná
repository-code: 'https://github.com/Jaderpolli/collatz-map'
abstract: >-
In this repository, all codes necessary to study the
presence of stochastic behavior into the hailstone
sequences of the Collatz Map are provided.