OFFSET
1,1
COMMENTS
Also, composite numbers n such that LCM( p-1 : prime p|A027642(n-1) ) = n-1. Also, composite numbers n such that LCM( p-1 : p is prime & (p-1)|(n-1) ) = n-1. - Max Alekseyev, Dec 03 2021
Contains all Carmichael numbers except 2628073, 3224065, 23382529, 182356993, 1419339691, ...
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
1 + Select[Range[500], CompositeQ[# + 1] && CarmichaelLambda[ Times @@ Select[1 + Divisors@ #, PrimeQ]] == # &] (* Giovanni Resta, Aug 13 2018 *)
PROG
(PARI) a027760(n) = denominator(sumdiv(n, d, if(isprime(d+1), 1/(d+1))));
a002322(n) = lcm(znstar(n)[2]);
isok(n) = !isprime(n) && (n--) && !frac(a002322(a027760(n))/n); \\ Michel Marcus, Aug 13 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Max Alekseyev and Thomas Ordowski, Jul 09 2018
EXTENSIONS
More terms from Giovanni Resta, Aug 13 2018
STATUS
approved