A306270 Composite numbers k such that b^(k(k-1)) == 1 (mod k^2) for every b coprime to k.
4, 6, 12, 20, 21, 28, 42, 52, 60, 66, 84, 105, 156, 165, 186, 220, 231, 273, 276, 301, 364, 385, 420, 465, 506, 532, 561, 609, 645, 651, 660, 780, 804, 903, 946, 1036, 1045, 1065, 1092, 1105, 1204, 1265, 1281, 1365, 1491, 1540, 1705, 1716, 1729, 1771, 1806, 1860
Offset: 1
Keywords
Crossrefs
A190275 is a subsequence. - Thomas Ordowski, Jul 19 2020
Programs
-
Mathematica
Select[Range[2000], CompositeQ[#] && Divisible[#(#-1), CarmichaelLambda[#^2]] &]
-
PARI
isok(k) = (k!=1) && !isprime(k) && !(k*(k-1) % lcm(znstar(k^2)[2])); \\ Michel Marcus, Mar 12 2019
Comments