OFFSET
1,1
COMMENTS
LINKS
Max Alekseyev, Table of n, a(n) for n = 1..1000
M. Ferrari and L. Sillari, On the minimal number of solutions of the equation phi(n+k) = M*phi(n), M=1,2, arXiv:2110.05401 [math.NT], 2021.
MATHEMATICA
s = {2, 3, 5, 7}; step[s_] := Module[{p = NextPrime[s[[-1]]], r = Times @@ s}, While[! Divisible[r, (p + 1)/2] || ! Divisible[r, Times @@ FactorInteger[(p - 1)/2][[;; , 1]]], p = NextPrime[p]]; Join[s, {p}]]; Nest[step, s, 55] (* Amiram Eldar, Dec 01 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Lorenzo Sillari, Nov 28 2022
STATUS
approved
