VOOZH about

URL: https://oeis.org/A165196

⇱ A165196 - OEIS


login
A165196
Partial sums of A165195.
4
1, 2, 4, 5, 7, 12, 14, 15, 17, 22, 37, 42, 44, 49, 51, 52, 54, 59, 74, 79, 94, 146, 161, 166, 168, 173, 188, 193, 195, 200, 202, 203, 205, 210, 225, 230, 245, 297, 312, 317, 332, 384, 587, 639, 654, 706, 721, 726, 728, 733, 748, 753, 768, 820, 835, 840, 842, 847, 862, 867, 869, 874, 876, 877
OFFSET
1,2
LINKS
FORMULA
Partial sums of A165195.
a(2^n) = A000110(n-1).
EXAMPLE
a(8) = 15 = sum of the first 8 terms of A165195: (1, 1, 2, 1, 2, 5, 2, 1...).
PROG
(PARI) seq(n)={my(v=vector(n, i, i--; hammingweight(bitxor(i, i>>1))), b=Vec(serlaplace(exp(exp(x+O(x*x^vecmax(v))) - 1)))); v=vector(#v, i, b[1+v[i]]); for(i=2, #v, v[i]+=v[i-1]); v} \\ Andrew Howroyd, Sep 24 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Sep 06 2009
EXTENSIONS
a(25) corrected and a(33) onwards from Andrew Howroyd, Sep 24 2025
STATUS
approved