OFFSET
1,1
COMMENTS
The corresponding number of bases are 0, 2, 3, 4, 5, 10, 11, 12. - Jianing Song, Feb 07 2019
From Jeppe Stig Nielsen, Sep 06 2020: (Start)
Note that for a(6) and a(7), all the b values (bases) that are counted are powers of 2; and for a(8) all are powers of 3.
See A334048 for a version where bases b that are powers are not allowed.
One candidate for a(9) is 1645333507; it has 14 bases, the first 13 of which are powers of 5. However, excluding all numbers under 1645333507 as candidates for a(9) may be difficult to do.
(End)
PROG
(PARI) my(r=-1); forprime(p=2, , my(b=2, i=0); while(b < p, if(Mod(b, p^2)^(p-1)==1, i++); b++); if(i > r, print1(p, ", "); r=i)) \\ changed to include a(1) = 2 by Jianing Song, Feb 07 2019
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Felix Fröhlich, Mar 07 2015
EXTENSIONS
a(1) = 2 inserted by Jianing Song, Feb 07 2019
STATUS
approved