The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A199399 Binary XOR of 5^k as k varies from 0 to n. 1
1, 4, 29, 96, 529, 3620, 13101, 66048, 325601, 1653380, 9189501, 40187552, 216562929, 1143607140, 5098589837, 26660767488, 161932208321, 635945960964, 4313170161629, 20567937335008, 74804061006033, 551572049610276, 2689136522898669, 10088864973699328, 67578042506892449 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
EXAMPLE
a(2) = 1 XOR 5 = 4; a(3) = 1 XOR 5 XOR 25 = 29; a(4) = 1 XOR 5 XOR 25 XOR 125 = 96.
PROG
(PARI) {a(n)=if(n<0, 0, bitxor(a(n-1), 5^n))}
CROSSREFS
Cf. A199397.
Sequence in context: A192025 A288542 A024394 * A211545 A295842 A345897
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Nov 05 2011
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 06:37 EDT 2024. Contains 372538 sequences. (Running on oeis4.)