A350864 Nonprimes that are not the sum of 2 nonzero squares.
1, 4, 6, 12, 14, 15, 21, 22, 24, 27, 28, 30, 33, 35, 38, 39, 42, 44, 46, 48, 51, 54, 55, 56, 57, 60, 62, 63, 66, 69, 70, 75, 76, 77, 78, 84, 86, 87, 88, 91, 92, 93, 94, 95, 96, 99, 102, 105, 108, 110, 111, 112, 114, 115, 118, 119, 120, 123, 124, 126, 129, 132
Offset: 1
Keywords
Programs
-
Mathematica
a[n_] := Complement[Table[m, {m, 1, n}], Table[Prime[m], {m, 1, PrimePi[n]}], Select[Range[5, n], SquaresR[2, #] != 0 &]]; a[132]
Comments