Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A024517
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A024517 Position of 2*n^2 in A000404 (sums of 2 nonzero squares). +0
1
1, 3, 7, 12, 18, 25, 34, 45, 56, 68, 82, 95, 112, 128, 146, 164, 183, 205, 227, 250, 275, 300, 325, 350, 382, 410, 440, 470, 503, 536, 569, 605, 642, 678, 717, 752, 794, 837, 878, 918, 963, 1007, 1054, 1101, 1147, 1196, 1246, 1293, 1348, 1401, 1452, 1506 (list; graph; listen)
OFFSET

1,2

LINKS

Herman Jamke (hermanjamke(AT)fastmail.fm), Mar 03 2008, Table of n, a(n) for n = 1..130

PROGRAM

(PARI) i=0; for(n=1, 1000000, f=factor(n); r=0; b=0; t=0; for(k=1, #f[, 1], if(f[k, 1]%4==1, r++, if(f[k, 1]%4==3, b+=(f[k, 2]%2), t=(f[k, 2]%2)))); if(b==0 && (r>0 || t==1), i++; if(issquare(n/2), print1(i", ")))) - Herman Jamke (hermanjamke(AT)fastmail.fm), Mar 03 2008

CROSSREFS

Sequence in context: A027379 A055998 A066379 this_sequence A005228 A000969 A122250

Adjacent sequences: A024514 A024515 A024516 this_sequence A024518 A024519 A024520

KEYWORD

nonn

AUTHOR

Clark Kimberling (ck6(AT)evansville.edu)

EXTENSIONS

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Mar 03 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 17 23:40 EST 2009. Contains 171025 sequences.


AT&T Labs Research