1,2

Inverse Möbius transform of A002487, Stern's Diatomic sequence.

Antti Karttunen, Table of n, a(n) for n = 1..16384

Index entries for sequences related to Stern's sequences

a(n) = Sum_{d|n} A002487(d).

a(n) = A317837(n) + A002487(n).

(PARI)

A002487(n) = { my(a=1, b=0); while(n>0, if(bitand(n, 1), b+=a, a+=b); n>>=1); (b); }; \\ From A002487

A317838(n) = sumdiv(n, d, A002487(d));

Cf. A002487, A317837, A317839, A317840, A317841, A317843.

Sequence in context: A023154 A070820 A234360 * A213938 A031501 A279417

Adjacent sequences: A317835 A317836 A317837 * A317839 A317840 A317841

nonn

Antti Karttunen, Aug 09 2018

approved