Math Notes Spring 25
Fibonacci Moduli
For the Fibonacci sequence, defined by
I believe the following is true (Haven’t found any counterexamples)
Complete Factorization
Quick! what are all the factors of ?
Instead of giving you an answer, here’s an algorithm to find it.
First, by repeated division, find the prime factors.
Find the all unique factors and their cartesian products in to create .
Remove one of each unique factor from to make .
Find the all unique factors and their cartesian products in to create .
Multiply each number in by each number in to find Remove any duplicate values and remove any values which had been found in previous .
Remove one of each unique factor from to make .
Find the all unique factors and their cartesian products in to create .
Multiply each number in by each number in to find Remove any duplicate values and remove any values which had been found in previous .
Remove one of each unique factor from to make .
Find the all unique factors and their cartesian products in to create .
Multiply each number in by each number in to find Remove any duplicate values and remove any values which had been found in previous .
Remove one of each unique factor from to make .
Seeing as there are no more prime factors left in , Halt. The factors of are found in the union and of course .
I don’t know the name of this algorithm. I figured it out myself, but the simplicity of the algorithm leads me to believe it has been known for quite some time. There are likely more efficient algorithms, but compared to the naive algorithm of dividing by all numbers less than, it is appreciably efficient. An advantage of this algorithm is that it can be done on pen-and-paper and also can be done using a computer.
Squares mod 100
Two neat little identities for squares mod 100.
And
These can be algebraically shown to be true
What about the generic case of a modulus ? What is the specific to be added to to make the squares congruent?
Expand
The trivial case is for and . Let’s just ignore the possibility that both of those aren’t true and yet still
The smallest natural number such that for any integer is clearly if is even, and if is odd.
The smallest natural number such that is a bit trickier.
Obviously works, but the case of only works if is divisible by
So for
If is divisible by
Otherwise: