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!)
A339956 Numbers that are the sum of an even square s and an odd square t such that 0 < s < t. 0
13, 29, 41, 53, 65, 85, 97, 117, 125, 137, 145, 157, 173, 185, 205, 221, 229, 233, 241, 261, 269, 289, 293, 305, 313, 325, 353, 365, 369, 377, 389, 397, 421, 425, 433, 445, 457, 461, 477, 485, 505, 533, 541, 545, 557, 565, 585, 593, 617, 629, 637, 641, 661, 673, 685, 689, 697 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
29 is in the sequence since 2^2 + 5^2 = 29, 4 is even, 25 is odd, and 0 < 4 < 25.
MATHEMATICA
Table[If[Sum[Mod[i + 1, 2] Mod[n - i, 2] (Floor[Sqrt[i]] - Floor[Sqrt[i - 1]]) (Floor[Sqrt[n - i]] - Floor[Sqrt[n - i - 1]]), {i, Floor[n/2]}] > 0, n, {}], {n, 700}] // Flatten
CROSSREFS
Sequence in context: A045472 A240950 A141293 * A352926 A339989 A120827
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Dec 24 2020
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 May 21 02:29 EDT 2024. Contains 372720 sequences. (Running on oeis4.)