OFFSET
1,2
COMMENTS
From Alexander Adamchuk, Jan 11 2007: (Start)
3 divides a(n) for n > 1.
7 divides a(n) for n > 2.
43 divides a(n) for n = {4, 8, 9, 10, 12, 13, 16, ...}.
127 divides a(n) for n = {5, 8, 11, 14, 15, 17, ...}.
Prime factors of a(n) in order of their appearance in {a(n)} are {3, 7, 43, 127, 337, 5419, 431, 1033, 5419, 2287, 3049, 9719, ...}. (End)
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..56
MATHEMATICA
Select[Range[30000], IntegerQ[(PowerMod[4, #, #^2 ]-1)/#^2 ]&]
PROG
(PARI) is(k) = Mod(4, k^2)^k == 1; \\ Amiram Eldar, May 25 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Jan 05 2007
EXTENSIONS
More terms from Ryan Propper and Alexander Adamchuk, Jan 05 2007
a(27)-a(31) from Amiram Eldar, May 25 2024
STATUS
approved