hi, i'm

Mason

I'm a high school student who likes messing around with ideas from physics and math, usually by writing code.

about

I'm going into sophomore year and I want to study physics and math. Lately I've been looking at recurrence sequences modulo prime powers and trying to learn thermodynamics. I write mostly Python, although Orbit Lab gave me a reason to try Swift.

what I'm working on

Still just a plan: Cast Flight Lab I want to compare ideal projectile motion with an effective quadratic-drag model for a hookless practice plug. School review is still required, I have no data or results, and I will not collect formal data before my teacher and school review the protocol and safety plan.

independent computational replication

Fibonacci residues modulo prime powers

I built this computational study to see which residues appear when Fibonacci-type sequences are reduced modulo pk. I wrote the Python code, ran the experiments, checked the outputs, and documented the method myself.

Status and authorship: I independently implemented and completed this project. I worked through the method, wrote and tested the code, reproduced the results, and verified the saved outputs myself. The Fibonacci benchmarks are published mathematics, and the Lucas and Pell observations below are finite experiments, not proofs or claims of new discoveries.

what I tested

One number can repeat before the whole recurrence cycles, so stopping at a repeated value would be wrong. My program tracks pairs of consecutive values instead.

x(n + 2) = a x(n + 1) + b x(n) mod m
state(n) = (x(n), x(n + 1))

For each modulus m = pk, my code follows the pair state and keeps the first coordinate from every step. It stops when the original pair comes back. I worked through and verified each of these choices before using them.

what I found

My dataset contains 147 runs across eight primes. The checks reproduced selected published Fibonacci benchmarks, and the runs showed:

Three stacked line charts show how the observed residue proportion changes with the exponent for Fibonacci, Lucas, and Pell sequences, with one line for each of eight primes.
This chart shows the observed fractions. The bullets above provide the same values in text.

a question from the results

My Pell runs produced different first lifts for 13 and 31, followed by matching growth in the state period and residue count. That led to a question for a wider, predeclared test range.

Question for future work: if the Pell state period and residue count both grow by p at one prime-power lift, does the residue proportion stay fixed at later non-exceptional lifts?

The tested cases motivate the question, but they do not prove it. I am not claiming the pattern as a new discovery.

Two line charts show Pell state-period growth and residue-count growth across prime-power lifts for primes 13 and 31.
This chart records the Pell output that motivated the question.

files and checks

Every saved run returned to its starting pair. A separate small-modulus implementation checked 78 cases, and five unit tests cover known periods, residue counts, and edge cases. I reran these checks, audited the code, and compared the Fibonacci output with published benchmarks. Finite tests support the displayed data, but they do not prove an infinite pattern.

start here

downloads

source paper

I wrote, ran, and verified this code and analysis independently. The downloads are the notebook, source, data, tests, and figures behind the page.

away from the computer

When I'm not at my computer, I like fishing and being outside.