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-2 of 2 results.

A098105 a(n) = 2^p - p^2 where p is the n-th prime.

Original entry on oeis.org

0, -1, 7, 79, 1927, 8023, 130783, 523927, 8388079, 536870071, 2147482687, 137438952103, 2199023253871, 8796093020359, 140737488353119, 9007199254738183, 576460752303420007, 2305843009213690231, 147573952589676408439, 2361183241434822601807, 9444732965739290422063, 604462909807314587346847, 9671406556917033397642519
Offset: 1

Views

Author

Parthasarathy Nambi, Sep 22 2004

Keywords

References

  • E.-B. Escott, Note #1642, L'Intermédiaire des Mathématiciens, 8 (1901), page 12. - N. J. A. Sloane, Mar 02 2022

Crossrefs

Programs

  • Mathematica
    Table[2^Prime[n] - Prime[n]^2, {n, 20}] (* Robert G. Wilson v, Sep 23 2004 *)

Extensions

More terms from Robert G. Wilson v, Sep 23 2004

A098104 Numbers of the form 7^p - p^7 where p is prime.

Original entry on oeis.org

-79, -1844, -61318, 0, 1957839572, 96826261890, 232630103648534, 11398894291501404, 27368747336676090896, 3219905755813162476961298, 157775382034845779102428632, 18562115921017574302358231794074
Offset: 1

Views

Author

Parthasarathy Nambi, Sep 22 2004

Keywords

Examples

			7^3 - 3^7 = -1844.
		

Crossrefs

Programs

  • Mathematica
    Table[7^Prime[n] - Prime[n]^7, {n, 12}] (* Robert G. Wilson v, Sep 23 2004 *)
    p7[n_]:=Module[{p=Prime[n]},7^p-p^7];Array[p7,20] (* Harvey P. Dale, Oct 06 2011 *)

Extensions

More terms from Robert G. Wilson v, Sep 23 2004
Showing 1-2 of 2 results.