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