

A119715


a(n) = least k such that the remainder when 7^k is divided by k is n.


40



2, 5, 46, 339, 22, 387497, 11, 535, 10, 111, 38, 8399, 15, 497, 34, 327, 365, 515, 30, 7219931, 28, 321, 26, 223793, 44, 10718597, 242, 35, 2330, 209, 39, 305, 136, 309, 4382, 10596486211, 45, 24751, 7327, 121, 236, 78821, 55, 4117, 76, 1751, 30514339, 83795, 50, 1333
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Table of n, a(n) for n=1..50.
Robert G. Wilson v, Table of n, a(n) for n = 1..10000 with 1 for those entries where a(n) has not yet been found


MATHEMATICA

t = Table[0, {10000}]; k = 1; lst = {}; While[k < 4100000000, a = PowerMod[7, k, k]; If[ a<10001 && t[[a]]==0, t[[a]]=k; Print[{a, k}]]; k++ ]; t


CROSSREFS

Cf. A036236, A078457, A119678, A119679, A127816, A119714, A127817, A127818, A127819, A127820, A127821.
Sequence in context: A005166 A121621 A225147 * A023273 A041729 A078665
Adjacent sequences: A119712 A119713 A119714 * A119716 A119717 A119718


KEYWORD

nonn


AUTHOR

Ryan Propper, Jun 12 2006


EXTENSIONS

a(36) = 10596486211 and later terms from Ryan Propper, Feb 02 2007
I changed the Mathematica coding to reflect the new limits Robert G. Wilson v, Jul 17 2009
a(484) = 10377640401 = 3 * 29 * 119283223 [From Daniel Morel, May 18 2010]
a(374) = 7708658057, a(456) = 10520357317, a(872) = 4927669897 [From Daniel Morel, Jun 17 2010]
a(120) = 130064813537, a(642) = 86370616951 [From Daniel Morel, Aug 24 2010]
a(590) = 275757059731 [From Daniel Morel, Mar 18 2011].


STATUS

approved



