login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A102377
Gould's sequence A001316 in binary.
0
1, 10, 10, 100, 10, 100, 100, 1000, 10, 100, 100, 1000, 100, 1000, 1000, 10000, 10, 100, 100, 1000, 100, 1000, 1000, 10000, 100, 1000, 1000, 10000, 1000, 10000, 10000, 100000, 10, 100, 100, 1000, 100, 1000, 1000, 10000, 100, 1000, 1000, 10000, 1000
OFFSET
0,2
FORMULA
Formulas due to Paul D. Hanna:
a(n) = 10^A000120(n).
a(n) = Product_{k=0..log_2(n)} 10^b(n,k) where b(n,k) = coefficient of 2^k in binary expansion of n.
a(n) = Sum_{k=0..n} (C(n,k) mod 2)*9^A000120(n-k).
G.f.: Product_{k>=0} 1 + 10*x^(2^k).
PROG
(PARI) a(n) = 10^hammingweight(n); \\ Kevin Ryde, Jan 11 2024
CROSSREFS
KEYWORD
easy,base,nonn
AUTHOR
Paul Barry, Jan 05 2005
STATUS
approved