Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124981
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124981 Odd numbers that are not the sum of 2 squares. +0
1
3, 7, 11, 15, 19, 21, 23, 27, 31, 33, 35, 39, 43, 47, 51, 55, 57, 59, 63, 67, 69, 71, 75, 77, 79, 83, 87, 91, 93, 95, 99, 103, 105, 107, 111, 115, 119, 123, 127, 129, 131, 133, 135, 139, 141, 143, 147, 151, 155, 159, 161, 163, 165, 167, 171, 175, 177, 179, 183, 187 (list; graph; listen)
OFFSET

1,1

FORMULA

Equals A022544 INTERSECT A005408. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 29 2006

EXAMPLE

13 is not in the list because it can be written as 3^2+2^2.

PROGRAM

(PARI) isA022544(n)={ local(cnt=0, y2) ; for(x=0, floor(sqrt(n)), y2=n-x^2 ; if( y2>=x^2 && issquare(y2), return(0) ; ) ; ) ; return(1) ; } isA124981(n)={ return( (n%2) && isA022544(n)) ; } { for(n=1, 200, if( isA124981(n), print1(n, ", ") ; ) ; ) ; } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 29 2006

CROSSREFS

Cf. A022544.

Adjacent sequences: A124978 A124979 A124980 this_sequence A124982 A124983 A124984

Sequence in context: A059568 A003512 A079710 this_sequence A059554 A131098 A103543

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Nov 15 2006

EXTENSIONS

Corrected and extended by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 29 2006

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 October 7 08:31 EDT 2008. Contains 144667 sequences.


AT&T Labs Research