A018287 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.A018287 n = (Synth.comprN (fun (x : ℤ) => (Synth.loop (fun (x y : ℤ) => (1 + x) * (y + x)) 2 2 - 2) % (1 + x)) ↑(n - 1) + 1).toNat
Instances For
OEIS sequence offset
Equations
Instances For
(Auto-generated theorem for Sequence.A018287)