login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
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; text; internal format)
OFFSET
1,2
COMMENTS
Next term is > 10^7.
a(7) > 1.5*10^9. [Jon E. Schoenfield, Jan 14 2009]
a(7) > 10^11. [Sean A. Irvine, Aug 12 2010]
LINKS
MATHEMATICA
Position[ FoldList[ BitXor, 0, Range[10^6]^2], n_ /; IntegerQ[Log[2, n]]] - 1 // Flatten (* Jean-François Alcover, Sep 30 2013 *)
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: A249333 A020691 A366674 * A195563 A250292 A140364
KEYWORD
more,nice,nonn
AUTHOR
M. F. Hasler, Oct 20 2008
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 December 7 18:28 EST 2023. Contains 367660 sequences. (Running on oeis4.)