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.

Showing 1-4 of 4 results.

A127797 Nextprime(11^n)-11^n.

Original entry on oeis.org

1, 2, 6, 30, 12, 2, 46, 20, 10, 2, 28, 62, 28, 42, 70, 30, 18, 20, 10, 18, 136, 102, 100, 30, 96, 6, 6, 68, 228, 30, 46, 48, 46, 32, 166, 36, 96, 42, 70, 278, 12, 108, 60, 42, 136, 68, 30, 18, 72, 36, 72, 30, 226, 252, 340, 126, 10, 42, 18, 182, 58, 18, 16, 120, 138, 36, 10
Offset: 0

Views

Author

Artur Jasinski, Jan 29 2007

Keywords

Crossrefs

Programs

  • Mathematica
    << NumberTheory`NumberTheoryFunctions` a = {}; Do[k = NextPrime[11^x] - 11^x; AppendTo[a, k], {x, 0, 100}]; a

A127798 Nextprime(12^n)-12^n.

Original entry on oeis.org

1, 1, 5, 5, 7, 7, 7, 25, 5, 31, 49, 31, 35, 25, 23, 11, 17, 29, 47, 103, 7, 5, 7, 23, 133, 19, 5, 13, 7, 215, 89, 5, 53, 89, 17, 35, 257, 29, 19, 193, 13, 121, 79, 71, 53, 61, 287, 61, 107, 125, 5, 203, 23, 119, 89, 5, 95, 61, 7, 29, 191, 211, 119, 31, 377, 37, 49, 89, 161, 5, 785
Offset: 0

Views

Author

Artur Jasinski, Jan 29 2007

Keywords

Crossrefs

Programs

  • Mathematica
    << NumberTheory`NumberTheoryFunctions` a = {}; Do[k = NextPrime[12^x] - 12^x; AppendTo[a, k], {x, 0, 100}]; a
    f[n_]:=Module[{c=12^n},NextPrime[c]-c]; f/@Range[0,100]  (* Harvey P. Dale, Mar 19 2011 *)

A127799 Nextprime(13^n)-13^n.

Original entry on oeis.org

1, 4, 4, 6, 10, 6, 4, 6, 18, 46, 4, 34, 22, 16, 58, 4, 72, 28, 42, 34, 30, 166, 60, 16, 136, 46, 94, 66, 276, 30, 70, 136, 70, 18, 60, 142, 228, 10, 462, 12, 28, 166, 138, 12, 376, 16, 180, 102, 222, 228, 102, 126, 108, 46, 24, 172, 162, 6, 114, 6, 108, 6, 72, 84, 22, 70
Offset: 0

Views

Author

Artur Jasinski, Jan 29 2007

Keywords

Crossrefs

Programs

  • Mathematica
    np13[n_]:=Module[{c=13^n},NextPrime[c]-c]; Array[np13,70,0] (* Harvey P. Dale, Mar 31 2012 *)

A127795 Nextprime(8^n)-8^n.

Original entry on oeis.org

1, 3, 3, 9, 3, 3, 3, 17, 43, 29, 3, 17, 31, 23, 15, 59, 21, 21, 159, 9, 33, 29, 9, 29, 15, 33, 7, 17, 3, 39, 133, 105, 61, 255, 267, 39, 33, 51, 43, 29, 451, 165, 7, 17, 67, 33, 87, 5, 175, 51, 147, 95, 45, 299, 19, 141, 87, 129, 7, 75, 15, 215, 205, 35, 133, 35, 15, 351, 7, 203
Offset: 0

Views

Author

Artur Jasinski, Jan 29 2007

Keywords

Comments

"Nextprime(k)" is not well-defined: it can mean the smallest prime >= k or the smallest prime > k. Of course here it does not matter. - N. J. A. Sloane, Jan 31 2007

Crossrefs

Programs

  • Mathematica
    np[n_]:=Module[{n8=8^n},NextPrime[n8]-n8]; Array[np,70,0] (* Harvey P. Dale, Jun 20 2011 *)

Extensions

Erroneous Mathematica program deleted by Harvey P. Dale, Jun 20 2011
Showing 1-4 of 4 results.