OFFSET
1,1
COMMENTS
Composite numbers n such that 54^(n-1) == 1 (mod n). - Michel Lagneau, Feb 18 2012
LINKS
MATHEMATICA
base = 54; t = {}; n = 1; While[Length[t] < 100, n++; If[! PrimeQ[n] && PowerMod[base, n-1, n] == 1, AppendTo[t, n]]]; t (* T. D. Noe, Feb 21 2012 *)
Select[Range[20000], !PrimeQ[#]&&PowerMod[54, #-1, #]==1&] (* Harvey P. Dale, Jul 03 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved