#integer

2026-01-30

Yesterday I had to fit an ICCID number (15-22 digits) in a 64 bits wide integer. Not possible, bad specification. This night I thought that a 72 bits integer could be used (there is a spare byte in the memory). That's not fully right : (2^72-1)-(10^22-1) is negative. But at least, it could be usefull for ICCID up to 20 digits.
One condition, find the algorithm to convert a string as char[20] into a table of 9 bytes. Fun.
#digits #integer #C #embeddedSystem

2026-01-30

We see the fundamental theorem of arithmetic and the sieve of Eratosthenes in the decomposition into weight × level + jump of natural numbers. Applied to prime numbers this decomposition leads to a new classification of primes.

#decompwlj #math #mathematics #maths #sequence #OEIS #graph #natural #numbers #primes #PrimeNumbers #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #Eratosthenes #fundamental #theorem #arithmetic #research

Decomposition into weight × level + jump of natural numbers: the fundamental theorem of arithmetic and the sieve of EratosthenesGraph in 2D (log(weight), log(level)) of the decomposition into weight × level + jump of natural numbersDecomposition into weight × level + jump of prime numbers: in 2D with sequences on the OEIS: a new classification of primesGraph in 2D (log(weight), log(level)) of the decomposition into weight × level + jump of prime numbers
2026-01-29

Now this animation is available for the 1000 sequences decomposed on my website.
Accessible from the 3Dgraph, 2Dgraph500terms and 2dgraphs pages ➡️ decompwlj.com
A little more work on axis sizing and controls.

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

2026-01-29

My first, favorite and most important sequence, the weights of prime numbers: A117078
We see prime numbers classified by level and by weight on the graph.

A117078: a(n) is the smallest k such that prime(n+1) = prime(n) + (prime(n) mod k), or 0 if no such k exists ➡️ oeis.org/A117078

#decompwlj #math #mathematics #maths #sequence #OEIS #graph #numbers #primes #PrimeNumbers #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research

Decomposition into weight × level + jump of A089194 in 3D (threejs - WebGL) (log(weight), log(level), log(jump))Decomposition into weight × level + jump of A089194 in 2D (log(weight), log(level))

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst