A333433 a(n) is the n-th number m that divides n^m - 1 (or 0 if m does not exist).
1, 0, 4, 21, 8, 1555, 9, 6223, 40, 999, 20, 130801, 24, 4484077, 128, 117, 60, 118285781329, 42, 1432001198261, 104, 819, 72, 302508121, 81, 75625, 200, 61731, 78, 14507145975869, 72, 21958351241, 820, 12321, 289, 4375, 144
Offset: 1
Links
- OEIS Wiki, 2^n mod n
Programs
-
PARI
{a(n) = if(n==2, 0, my(cnt=0, k=0); while(cnt
Formula
a(n) = A333432(n,n).
Extensions
a(30)-a(37) from Giovanni Resta, Apr 15 2020
Comments