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.

A135174 a(n) = 5^prime(n) - 3^prime(n) + 2^prime(n).

Original entry on oeis.org

20, 106, 2914, 76066, 48653026, 1219116994, 762810444034, 19072324590946, 11920834820287906, 186264446293255209154, 4656612255406143777826, 72759575691550490581159234, 45474735052173417717604422274, 1136868376887903338795354772706, 710542735733511371652904252645666
Offset: 1

Views

Author

Omar E. Pol, Nov 25 2007

Keywords

Examples

			a(4)=76066 because the 4th prime number is 7, 5^7=78125, 3^7=2187, 2^7=128 and 78125-2187+128=76066.
		

Crossrefs

Cf. A000040.
Cf. 2^p: A034785; 3^p: A057901; 5^p: A057902.

Programs

  • Magma
    [5^p-3^p+2^p: p in PrimesUpTo(100)]; // Vincenzo Librandi, Dec 14 2010
  • Mathematica
    Table[5^p-3^p+2^p,{p,Prime[Range[20]]}] (* Harvey P. Dale, Dec 12 2013 *)

Formula

a(n)= 5^A000040(n) - 3^A000040(n) + 2^A000040(n).

Extensions

More terms from Vincenzo Librandi, Dec 14 2010