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!)
A132777 Nonsquare numbers which are the sum of 2 distinct squares. 3
5, 10, 13, 17, 20, 26, 29, 34, 37, 40, 41, 45, 50, 52, 53, 58, 61, 65, 68, 73, 74, 80, 82, 85, 89, 90, 97, 101, 104, 106, 109, 113, 116, 117, 122, 125, 130, 136, 137, 145, 146, 148, 149, 153, 157, 160, 164 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This is simply A001983 excluding the square numbers.
The squares of these numbers are also sums of two distinct nonzero squares. Including them gives A004431. - Jean-Christophe Hervé, Nov 11 2013
LINKS
EXAMPLE
5 = 4 + 1, and 5^2 = 16 + 9 ; 10 = 9 + 1, and 10^2 = 64 + 36. - Jean-Christophe Hervé, Nov 11 2013
MATHEMATICA
selQ[n_] := !IntegerQ[Sqrt[n]] && Select[ PowersRepresentations[n, 2, 2], 0 <= #[[1]] < #[[2]]&] != {};
Select[Range[1000], selQ] (* Jean-François Alcover, Apr 20 2023 *)
CROSSREFS
Sequence in context: A055096 A313386 A267969 * A191217 A230779 A313387
KEYWORD
easy,nonn
AUTHOR
Rob Hubbard (hubbard.r(AT)gmail.com), Oct 08 2007
EXTENSIONS
Definition corrected by Jean-Christophe Hervé, Nov 11 2013
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 April 19 17:51 EDT 2024. Contains 371797 sequences. (Running on oeis4.)