OFFSET
1,1
COMMENTS
There are terms produced by this form that are not Carmichael numbers when all three factors are prime, e.g. k is 54, 106, 222, 294, 494, 512.... An alternative form (60*k+151)*(240*k+601)*(300*k+751) will always produce Carmichael numbers when all three factors are prime. - Jonathon Martodam, Dec 12 2025
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Carmichael Number
MATHEMATICA
carmQ[n_] := CompositeQ[n] && Divisible[n - 1, CarmichaelLambda[n]]; v = {30, 120, 150}; Times @@ (v*# + 1) & /@ Select[Range[1000], AllTrue[(w = v*# + 1), PrimeQ] && carmQ[Times @@ w] &] (* Amiram Eldar, Nov 11 2019 *)
PROG
(Magma) [n : k in [1..593 by 2] | IsPrime(a) and IsPrime(b) and IsPrime(c) and IsOne(n mod CarmichaelLambda(n)) where n is a*b*c where a is 30*k+1 where b is 120*k+1 where c is 150*k+1];
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Oct 29 2013
STATUS
approved
