OFFSET
1,2
COMMENTS
The sequence is quasiperiodic with quasiperiod 2*n + 1.
Conjecture: Sum_{n=1..N} a(n) ~ 4*N^(3/2)/3 for N large enough.
Conjecture: Sum_{n=1..N} a(n) ~ 2*Sum_{n=1..N} A382306(n) for N large enough.
FORMULA
EXAMPLE
a(1) = 0 because C(1) = 5, C(2) = 4, C(3) = 4.
a(2) = 3 because C(4)..C(8) = 2,1,2,1,1 and only three arguments satisfy C(m) = 1.
a(3) = 4 because C(9)..C(15) = 2,1,4,1,4,1,1 and only four arguments satisfies C(m) = 1.
a(4) = 2 because C(16)..C(24) = 5,9,1,9,3,1,2,9,3 and only two arguments satisfying C(m) = 0.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Hassan Baloui, Apr 16 2025
STATUS
approved
