login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A177905
Numbers k such that k^3 divides 5^(k^2) - 1.
15
1, 2, 4, 6, 12, 26, 42, 52, 68, 78, 84, 114, 156, 186, 204, 222, 228, 372, 444, 546, 798, 876, 884, 1092, 1218, 1252, 1302, 1378, 1428, 1482, 1554, 1596, 1806, 2418, 2436, 2604, 2652, 2756, 2886, 2964, 3108, 3534, 3606, 3612, 3756, 3876, 4134, 4218, 4836
OFFSET
1,2
LINKS
MAPLE
A177905:=n->`if`(5^(n^2)-1 mod n^3 = 0, n, NULL): seq(A177905(n), n=1..10^3); # Wesley Ivan Hurt, Feb 16 2017
MATHEMATICA
Join[{1}, Select[Range[5000], PowerMod[5, #^2, #^3]==1&]] (* Harvey P. Dale, May 04 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, May 14 2010
STATUS
approved