login
A354779
a(0), ..., a(5) are 0, 1, 2, 3, 3, 3; thereafter if n == 0 mod 4 then a(n) = n/2; if n == 1 mod 4, (n+1)/2; 2 mod 4, (n+2)/2; 3 mod 4, (n+1)/2.
1
0, 1, 2, 3, 3, 3, 4, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 10, 10, 10, 11, 12, 12, 12, 13, 14, 14, 14, 15, 16, 16, 16, 17, 18, 18, 18, 19, 20, 20, 20, 21, 22, 22, 22, 23, 24, 24, 24, 25, 26, 26, 26, 27, 28, 28, 28, 29, 30, 30, 30, 31, 32, 32, 32, 33, 34, 34, 34, 35, 36, 36, 36, 37, 38, 38, 38, 39, 40, 40, 40, 41, 42, 42, 42, 43, 44
OFFSET
0,3
COMMENTS
Arises in the analysis of A354767.
FORMULA
G.f. = x*(x^7-x^6-x^3+x^2+1))/((1-x)^2*(1+x^2)).
CROSSREFS
Cf. A354767.
Sequence in context: A080405 A039728 A332965 * A334220 A234016 A029119
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 01 2022
STATUS
approved