OFFSET
0,1
COMMENTS
a(n) is the least squarefree composite integer for which prime p | a(n) ==> p-n | a(n)-n.
LINKS
EXAMPLE
For n=6 the minimum is a(n)=13481. Prime factors of 13481 are 13, 17 and 61. We have 13481 - 6 = 13475, 13 - 6 = 7 and 13475 / 7 = 1925, 17 - 6 = 11 and 13475 / 11 = 1225, 61 - 6 = 55 and 13475 / 55 = 245. - Elijah Beregovsky, Feb 15 2020
MATHEMATICA
qcQ[n_, k_] := Module[{f = FactorInteger[n]}, p = f[[;; , 1]]; e = f[[;; , 2]]; om=Length[e]; om>=2 && Max[e] == 1 && Min[p]>k && Length@Select[p, Divisible[n-k, #-k]&] == om]; seq[k_]:=SelectFirst[Range[1, 50000], qcQ[#, k]&]; Print[seq/@Range[0, 29]]; (* Elijah Beregovsky, Feb 15 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved