OFFSET
1,1
COMMENTS
Composite numbers n such that 70^(n-1) == 1 (mod n). - Michel Lagneau, Feb 18 2012
LINKS
MATHEMATICA
base = 70; 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[10^4], Not[PrimeQ[#]] && PowerMod[70, # - 1, #] == 1 &] (* Alonso del Arte, Jun 12 2015, based on Farideh Firoozbakht's program for A005939 *)
PROG
(PARI) forcomposite(n=4, 1e6, if(Mod(70, n)^(n-1)==1, print1(n", "))) \\ Charles R Greathouse IV, Jun 12 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved