A054794 Numbers of form 5+n^2+n or 5+2*n^2.
5, 7, 11, 13, 17, 23, 25, 35, 37, 47, 55, 61, 77, 95, 103, 115, 133, 137, 161, 167, 187, 205, 215, 245, 247, 277, 293, 311, 343, 347, 385, 397, 425, 455, 467, 511, 517, 557, 583, 605, 653, 655, 707, 727, 761, 805, 817, 875, 887, 935, 973, 997, 1061, 1063
Offset: 1
Keywords
Programs
-
Mathematica
Flatten[Table[{n^2+n+5,2n^2+5},{n,0,40}]]//Union (* Harvey P. Dale, Jun 26 2025 *)
Extensions
More terms from James Sellers, Apr 28 2000