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