A018358 sequence #
References #
- T. Gauthier; and J. Urban (2023). Learning Program Synthesis for Integer Sequences from Scratch. The Thirty-Seventh AAAI Conference on Artificial Intelligence (AAAI-23)
Equations
- Sequence.A018358 n = (Synth.comprN (fun (x : ℤ) => (Synth.loop (fun (x _y : ℤ) => x * x) 2 4 - 1) % (1 + x)) ↑(n - 1) + 1).toNat
Instances For
OEIS sequence offset