OFFSET
1,2
COMMENTS
All terms are odd.
Some larger terms: 5623143546839445899891, 46186634668308298262543001. - Max Alekseyev, Oct 18 2016
FORMULA
A066438(a(n)) = a(n) - 2 for n > 1.
EXAMPLE
7^3 + 2 = 345 = 3 * 115, so 3 is a term.
MATHEMATICA
Select[Range[1, 9999, 2], Divisible[7^# + 2, #] &] (* Alonso del Arte, Oct 11 2016 *)
PROG
(PARI) is(n) = Mod(7, n)^n==-2 \\ Felix Fröhlich, Oct 14 2016
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Oct 11 2016
EXTENSIONS
a(8)-a(13) from Max Alekseyev, Oct 18 2016
a(14)-a(16) from Max Alekseyev, Dec 27 2024
STATUS
approved