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.

Previous Showing 21-24 of 24 results.

A178199 Smallest k such that 38^k mod k = n.

Original entry on oeis.org

1, 37, 3, 5, 6, 11, 1438, 31, 9, 29, 18, 45021, 13, 5249, 22, 23, 20, 69, 25, 437, 21, 227643018837677, 42, 141, 50, 19877, 27, 121, 36, 303, 98, 49, 75, 329, 94, 261, 116, 9200543, 39, 87541720241623, 52, 1119, 1402, 510025, 356, 24829, 466, 51
Offset: 0

Views

Author

Artur Jasinski, May 23 2010

Keywords

Crossrefs

Programs

  • Mathematica
    aa = {}; Do[k = 1; While[PowerMod[38, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa
    sk[n_]:=Module[{k=1},While[PowerMod[38,k,k]!=n,k++];k]; Array[sk,50,0] (* Harvey P. Dale, Mar 14 2015 *)

Extensions

Terms a(21) onward from Max Alekseyev, Apr 22 2012

A178200 Smallest k such that 39^k mod k = n.

Original entry on oeis.org

1, 2, 37, 6, 5, 17, 11, 1514, 31, 12, 29, 70, 159, 26, 85, 21, 23, 94, 33, 1502, 779, 30, 253529023201, 214, 25, 28, 299, 54, 2905241561, 115, 77, 298, 96172711, 48, 13243955, 1486, 63, 106, 1841252062709911, 41, 13343, 74, 59277, 1478, 119, 82, 697, 134, 69, 176, 70961, 150, 481, 116, 55, 1466, 3161, 84, 437, 86, 511, 146, 13787, 153, 90224135, 104, 6789, 1454, 140459, 132, 958471, 1303310, 87, 362, 175, 482, 1369, 244, 93, 98, 2501, 88, 119239, 1438, 1077, 692, 2258141, 102, 9066799, 358, 99, 130, 46859, 506, 121, 217, 187, 124, 163067, 105, 40649
Offset: 0

Views

Author

Artur Jasinski, May 23 2010

Keywords

Crossrefs

Programs

  • Mathematica
    aa = {}; Do[k = 1; While[PowerMod[39, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa

Extensions

Terms a(22) onward from Max Alekseyev, Feb 04 2012, Apr 13 2012

A178201 Smallest k such that 40^k mod k = n.

Original entry on oeis.org

1, 3, 19, 37, 6, 7, 17, 11, 92, 31, 15, 29, 794, 21, 26, 215, 22, 23, 98, 49, 124, 19849, 42, 12405874306277, 284, 75, 1574, 221, 36, 323, 70, 119, 56, 133, 58, 685, 44, 69, 142, 187, 41, 31561, 82, 3197, 148, 10073, 51, 511, 176, 37603, 62, 437, 86, 1339, 1546, 63, 386, 12599, 138, 3017, 140, 493, 1538, 529, 72, 935, 118, 303, 253, 277061, 95
Offset: 0

Views

Author

Artur Jasinski, May 23 2010

Keywords

Crossrefs

Programs

  • Mathematica
    aa = {}; Do[k = 1; While[PowerMod[40, k, k] != n, k++ ]; Print[{n, k}]; AppendTo[aa, k], {n, 1, 50}]; aa

Extensions

Terms a(23) onward from Max Alekseyev, Mar 19 2012

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

Original entry on oeis.org

3, 62, 997, 6, 115, 7, 51, 14, 991, 11, 23, 13, 21, 17, 197, 24, 983, 158, 109, 35, 89, 42, 977, 61, 39, 34, 139, 36, 971, 38, 3291, 188, 967, 66, 193, 92, 57, 74, 999161, 52, 137, 479, 69, 239, 191, 53, 953, 49, 317, 70, 73, 79, 947, 65291, 63, 59, 448991, 114, 941
Offset: 1

Views

Author

Alexander Adamchuk, May 10 2010

Keywords

Crossrefs

Programs

  • Mathematica
    t = Table[0, {98}]; k = 1; While[k < 10000000, a = PowerMod[1000, k, k]; If[a < 99 && t[[a]] == 0, t[[a]] = k; Print[{a, k}]]; k++ ]; t
    lk[n_]:=Module[{k=1},While[PowerMod[1000,k,k]!=n,k++];k]; Array[lk,60] (* Harvey P. Dale, Jul 21 2021 *)
Previous Showing 21-24 of 24 results.