OFFSET
0,2
COMMENTS
a(n) > n. Numbers n such that a(n-1) = n are listed in A015949.
a(n) for which no value is currently known: n = 394, 494, 634, 730, 974, 986, 1000, ...
LINKS
Fausto A. C. Cariboni, Table of n, a(n) for n = 0..10000 with -1 for large entries where a(n) has not yet been found, Nov 23 2016 [With 162 new terms, this supersedes the earlier table from Robert G. Wilson v et al.]
Jan-Christoph Schlage-Puchta, C program
Robert G. Wilson v et al., Table of n, a(n) for n = 0..10000 with -1 for those entries where a(n) has not yet been found
MATHEMATICA
a = Table[0, {50}]; Do[b = PowerMod[3, n, n]; If[b < 51 && a[[b]] == 0, a[[b]] = n], {n, 1, 56*10^6}]; a
t = Table[0, {1000} ]; k = 1; While[ k < 200000000, a = PowerMod[3, k, k]; If[a < 1001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++ ]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Dec 31 2002
EXTENSIONS
More terms from Don Reble, Jan 02 2003
a(14) conjectured by Max Alekseyev, Jun 17 2006
a(14) confirmed by Ryan Propper, Feb 03 2007
a(30) from Ryan Propper, Feb 03 2007
a(56), a(110), a(128), a(134), a(187), a(286), a(348), a(392), a(470), a(512), a(550), a(596), a(672), a(676), a(688), a(703), a(716), a(748), a(772), a(784), a(860), a(980) from Jan-Christoph Schlage-Puchta (jcp(AT)mathematik.uni-freiburg.de), May 26 2008
Corrections from Jon E. Schoenfield, Oct 10 2008
a(664), a(928) from Mark Forbes (m.g.forbes(AT)ieee.org), Oct 25 2009
a(34), a(74), a(160) from Hagen von Eitzen, May 08, Jun 16 2009
a(254), a(310) from Daniel Morel, Sep 13, Sep 29 2009
Edited by Max Alekseyev, Feb 11 2012
STATUS
approved