login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Dirichlet inverse of this sequence is A154282.

LINKS

Table of n, a(n) for n=1..95.

FORMULA

a(n)={C[(n-2)^2,n] mod 2}, with n>=1. - Paolo P. Lava, Jan 22 2009

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

Cf. A154272, A154271, A154269.

Sequence in context: A285617 A246500 A185114 * A154282 A224877 A178600

Adjacent sequences:  A154278 A154279 A154280 * A154282 A154283 A154284

KEYWORD

nonn,mult

AUTHOR

Mats Granvik, Jan 06 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 22 13:29 EDT 2021. Contains 343177 sequences. (Running on oeis4.)