OFFSET
1,1
COMMENTS
Numbers satisfying the p-1 | n-1 criterion to the greatest extent possible without actually being Carmichael numbers (semiprimes excluded).
All terms are odd, since if not there is an even term n divisible by at least one odd prime p such that p-1 | n-1; contradiction since p-1 is even and n-1 is odd.
Subsequence of first terms with k=3,4,5,... begins: 105, 5005, 185185, ... (always divisible by 5?).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
105 = 3*5*7; 2|104 and 4|104 but 6 does not divide 104.
MATHEMATICA
acQ[n_] := Module[{f = FactorInteger[n]}, p = f[[;; , 1]]; e = f[[;; , 2]]; om = Length[p]; om > 2 && Max[e] == 1 && Length@Select[p, Divisible[n-1, #-1]&] == om - 1]; Select[Range[1, 3500, 2], acQ] (* Amiram Eldar, Jul 04 2019 *)
PROG
(PARI) isok(n) = if ((n>1) && (n % 2) && issquarefree(n) && (f = factor(n)) && (#f~ >= 3), return (sum(k=1, #f~, !((n-1) % (f[k, 1]-1))) == #f~ - 1)); \\ Michel Marcus, Jun 24 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
David James Sycamore, Jun 23 2019
EXTENSIONS
More terms from Michel Marcus, Jun 24 2019
STATUS
approved