The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A274577 Numbers n such that n is the sum of two nonzero squares while A006530(n) is not. 0
18, 72, 98, 162, 242, 245, 288, 392, 490, 605, 648, 722, 882, 968, 980, 1058, 1152, 1210, 1225, 1458, 1568, 1805, 1922, 1960, 2178, 2205, 2420, 2450, 2592, 2645, 2888, 3025, 3528, 3610, 3698, 3872, 3920, 4232, 4410, 4418, 4608, 4693, 4802, 4805, 4840, 4900, 5290 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
245 is a term because 245 = 5*7^2 = 7^2 + 14^2 and 7 is not the sum of two nonzero squares.
1764 is not a term because 1764 = 2^2*3^2*7^2.
MATHEMATICA
nR[n_]:=(SquaresR[2, n] + Plus@@Pick[{-4, 4}, IntegerQ/@ Sqrt[{n, n/2}]])/8; Select[ Range[10^4], nR[#] > 0 && Mod[FactorInteger[#][[-1, 1]], 4] == 3 &] (* Giovanni Resta, Jun 29 2016 *)
CROSSREFS
Sequence in context: A088490 A257693 A231328 * A347360 A195321 A069058
KEYWORD
nonn,easy
AUTHOR
Altug Alkan, Jun 29 2016
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 June 11 17:16 EDT 2024. Contains 373315 sequences. (Running on oeis4.)