cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

Original entry on oeis.org

2, 29, 7, 29787, 13, 113413, 51, 23, 11, 3309, 38, 19, 21, 17, 22, 115, 118, 37237, 261, 60212617, 94, 29769, 134, 51205605391, 26, 35, 209, 549, 466, 1558391, 37, 5033228393, 58, 39, 926, 565, 57, 1561, 922, 119, 46, 2512157, 111, 949, 76, 85
Offset: 1

Views

Author

Alexander Adamchuk, Feb 27 2007

Keywords

Crossrefs

Programs

  • Mathematica
    t = Table[0, {10000} ]; k = 1; While[ k < 4750000000, a = PowerMod[31, k, k]; If[a < 10001 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++ ]; t (* Robert G. Wilson v, Aug 06 2009 *)

Extensions

More terms from Ryan Propper, Mar 24 2007
a(494) = 14353729267 = 64609 * 222163. a(498) = 9547024387, a(540) = 29711794103. - Daniel Morel, Jun 17 2010. a(618) = 15150617101, a(750) = 13728669221. - Daniel Morel, Jun 28 2010