A018610 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.A018610 n = (Synth.loop (fun (x _y : ℤ) => (Synth.loop (fun (x _y : ℤ) => (2 - x % 2) * x) 4 x + x) / 2 + x) (↑(n - 1)) 1).toNat
Instances For
OEIS sequence offset