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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165211 Period 8: repeat 0,1,0,1,1,0,1,0. 0
0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

Parity of A064706.

Parity of the generalized pentagonal numbers A001318. - Omar E. Pol, Feb 04 2012

More generally, parity of the generalized k-gonal numbers, for odd k >= 5. - Omar E. Pol, Feb 05 2012

FORMULA

a(n)=(1/56)*{(n mod 8)+8*[(n+1) mod 8]-6*[(n+2) mod 8]+8*[(n+3) mod 8]+[(n+4) mod 8]-6*[(n+5) mod 8]+8*[(n+6) mod 8]-6*[(n+7) mod 8]}, with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Sep 16 2009]

MATHEMATICA

PadRight[{}, 112, {0, 1, 0, 1, 1, 0, 1, 0}] (* From Harvey P. Dale, Jan 29 2012 *)

CROSSREFS

Sequence in context: A093879 A117872 A089809 * A096270 A159689 A174282

Adjacent sequences:  A165208 A165209 A165210 * A165212 A165213 A165214

KEYWORD

nonn,changed

AUTHOR

Philippe DELEHAM (kolotoko(AT)wanadoo.fr), Sep 07 2009

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 17 06:27 EST 2012. Contains 205998 sequences.