cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A339955 Numbers that are the sum of an odd square s and an even square t such that 0 < s < t.

Original entry on oeis.org

5, 17, 25, 37, 45, 61, 65, 73, 89, 101, 109, 113, 125, 145, 149, 153, 169, 181, 193, 197, 205, 221, 225, 245, 257, 265, 277, 281, 305, 317, 325, 333, 337, 349, 365, 373, 377, 401, 405, 409, 425, 445, 449, 481, 485, 493, 509, 521, 533, 549, 565, 569, 577, 585, 601, 605, 613
Offset: 1

Views

Author

Wesley Ivan Hurt, Dec 24 2020

Keywords

Examples

			17 is in the sequence since 1^2 + 4^2 = 17, 1 is odd, 16 is even, and 0 < 1 < 16.
		

Crossrefs

Programs

  • Mathematica
    Table[If[Sum[Mod[i, 2] Mod[n - i + 1, 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