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”).

A154281
1,0,0,1 followed by 0,0,0...
1
1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,1
COMMENTS
Dirichlet inverse of this sequence is A154282.
FORMULA
Multiplicative with a(2^2) = 1, a(2^e) = 0 for e<>2, a(p^e) = 0 for odd prime p. - Andrew Howroyd, Aug 05 2018
MATHEMATICA
PadRight[{1, 0, 0, 1}, 120, 0] (* Harvey P. Dale, Aug 06 2012 *)
PROG
(PARI) a(n)={n==1 || n==4} \\ Andrew Howroyd, Aug 05 2018
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Mats Granvik, Jan 06 2009
STATUS
approved