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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A145830 Indices for which A145768 (XOR of squares of the numbers 1...n) is a power of 2. 3
1, 7, 9, 16, 47, 63 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Next term is > 10^7.

a(7) > 1.5*10^9. [From Jon E. Schoenfield (jonscho(AT)hiwaay.net), Jan 14 2009]

a(7) > 10^11. [From Sean A. Irvine (sairvin(AT)xtra.co.nz), Aug 12 2010]

PROG

(PARI) an=0; for( i=1, 10^6, an=bitxor(an, i^2); an & an==1<<valuation(a, 2) & print1(i", "))

CROSSREFS

A145830 = A145768 intersect A000079. A145768(a(n)) = 2^A145831(n); See also A145827-A145829.

Sequence in context: A158891 A087680 A020691 * A195563 A140364 A022321

Adjacent sequences:  A145827 A145828 A145829 * A145831 A145832 A145833

KEYWORD

more,nice,nonn

AUTHOR

M. F. Hasler (www.univ-ag.fr/~mhasler), Oct 20 2008

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 20:50 EST 2012. Contains 206085 sequences.