A202137 Numbers k such that 24k + 1 is neither square nor prime.
6, 9, 11, 16, 20, 21, 23, 27, 29, 30, 31, 33, 34, 36, 37, 38, 41, 44, 45, 46, 49, 53, 56, 58, 59, 60, 61, 63, 64, 65, 66, 68, 71, 72, 76, 79, 80, 81, 82, 85, 86, 91, 93, 94, 96, 97, 98, 101, 102, 104, 106, 107, 110, 111, 114, 115, 116, 120, 121, 122, 124
Offset: 1
Keywords
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[n: n in [1..200] | not IsSquare(24*n+1) and not IsPrime(24*n+1)]; // Vincenzo Librandi, Jan 26 2018
-
Maple
filter:= n -> not issqr(24*n+1) and not isprime(24*n+1): select(filter, [$1..200]); # Robert Israel, Jan 25 2018
-
Mathematica
Select[Range[150],!PrimeQ[24#+1]&&!IntegerQ[Sqrt[24#+1]]&] (* Harvey P. Dale, Dec 01 2015 *)
-
PARI
for(n=1,200,m=24*n+1;if(isprime(m)+issquare(m),,print1(n",")))
Comments