login
A127101
Numbers k such that k^2 divides 9^k - 1.
29
1, 2, 4, 8, 10, 20, 40, 110, 136, 164, 220, 328, 440, 610, 680, 820, 1210, 1220, 1544, 1640, 2420, 2440, 2530, 4840, 5060, 5576, 6710, 7370, 7480, 7720, 9020, 10120, 11810, 13420, 13612, 14008, 14740, 18040, 18632, 19580
OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..3000 (terms 1..56 from R. J. Mathar)
MATHEMATICA
Select[Range[20000], IntegerQ[(PowerMod[9, #, #^2 ]-1)/#^2 ]&]
PROG
(PARI) is(k) = Mod(9, k^2)^k == 1; \\ Amiram Eldar, May 21 2024
CROSSREFS
Subset of A068382 (numbers k such that k divides 9^k - 1).
Sequence in context: A177909 A259386 A004655 * A308832 A124849 A376681
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Jan 05 2007
STATUS
approved