OFFSET
1,1
COMMENTS
Numbers k such that (k - 1) | (A046670(k) - 1).
Numbers k such that (k - 1) | A088822(k).
a(26) > 10^12. - Giovanni Resta, May 05 2018
LINKS
Eric Weisstein's World of Mathematics, Greatest Prime Factor
EXAMPLE
6 is in the sequence because (gpf(2) + gpf(3) + gpf(4) + gpf(5) + gpf(6))/5 = (2 + 3 + 2 + 5 + 3)/5 = 3 is an integer.
PROG
(PARI) isok(n) = (n>1) && !(sum(k=2, n, vecmax(factor(k)[, 1])) % (n-1)); \\ Michel Marcus, Apr 29 2018
(PARI) lista(nn) = {s = 0; for (n=2, nn, s += vecmax(factor(n)[, 1]); if (! (s % (n-1)), print1(n, ", ")); ); } \\ Michel Marcus, Apr 29 2018
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Ilya Gutkovskiy, Apr 28 2018
EXTENSIONS
a(13)-a(18) from Michel Marcus, Apr 29 2018
a(19)-a(25) from Giovanni Resta, May 05 2018
STATUS
approved