login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A053866 Parity of sum of divisors of n. 6
0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

LINKS

Michael Gilleland, Some Self-Similar Integer Sequences

FORMULA

a(n) = A000203(n) mod 2. a(n)=1 iff n>0 is a square or twice a square.

Multiplicative with a(2^e)=1, a(p^e)=1 if e even, 0 otherwise.

a(n) = A093709(n) if n>0.

Dirichlet g.f.: zeta(2s)(1+2^-s). - Michael Somos Apr 12 2004

a(n) = A001157(n) mod 2. - R. J. Mathar, Apr 02 2011

MAPLE

A053866:= (n -> numtheory[sigma](n) mod 2):

seq (A053866(n), n=0..104); # - Jani Melik, Jan 28 2011

PROG

(PARI) a(n)=if(n<1, 0, issquare(n)|issquare(2*n)) /* Michael Somos Apr 12 2004 */

CROSSREFS

Cf. A000203, A028982.

Sequence in context: A079336 A057215 A029691 * A156595 A143222 A010060

Adjacent sequences:  A053863 A053864 A053865 * A053867 A053868 A053869

KEYWORD

nonn,mult

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), Mar 29 2000

EXTENSIONS

More terms from James A. Sellers (sellersj(AT)math.psu.edu), Apr 08 2000

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 15:49 EST 2012. Contains 205521 sequences.