login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135174 a(n) = 5^prime(n) - 3^prime(n) + 2^prime(n). 1
20, 106, 2914, 76066, 48653026, 1219116994, 762810444034, 19072324590946, 11920834820287906, 186264446293255209154, 4656612255406143777826, 72759575691550490581159234, 45474735052173417717604422274, 1136868376887903338795354772706, 710542735733511371652904252645666 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n)= 5^A000040(n) - 3^A000040(n) + 2^A000040(n).
EXAMPLE
a(4)=76066 because the 4th prime number is 7, 5^7=78125, 3^7=2187, 2^7=128 and 78125-2187+128=76066.
MATHEMATICA
Table[5^p-3^p+2^p, {p, Prime[Range[20]]}] (* Harvey P. Dale, Dec 12 2013 *)
PROG
(Magma) [5^p-3^p+2^p: p in PrimesUpTo(100)]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
Cf. A000040.
Cf. 2^p: A034785; 3^p: A057901; 5^p: A057902.
Sequence in context: A248087 A209547 A278642 * A173963 A202957 A232586
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Nov 25 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:26 EDT 2024. Contains 371905 sequences. (Running on oeis4.)