login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135173 5^p - 3^p - 2^p, where p = prime(n). 1
12, 90, 2850, 75810, 48648930, 1219100610, 762810181890, 19072323542370, 11920834803510690, 186264446292181467330, 4656612255401848810530, 72759575691550215703252290, 45474735052173413319557911170, 1136868376887903321203168728290, 710542735733511371371429275935010 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Ivan Panchenko, Table of n, a(n) for n = 1..200

FORMULA

a(n) = 5^p - 3^p - 2^p, with p = A000040(n).

a(n) = A057902(n) - A057901(n) - A034785(n). - Michel Marcus, Jun 14 2014

EXAMPLE

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

MATHEMATICA

5^# - 3^# - 2^# &/@Prime[Range[20]] (* G. C. Greubel, Sep 30 2016 *)

PROG

(MAGMA)[5^p-3^p-2^p: p in PrimesUpTo(100)] // Vincenzo Librandi, Dec 14 2010

(PARI) a(n, p=prime(n))=5^p - 3^p - 2^p \\ Charles R Greathouse IV, Sep 30 2016

CROSSREFS

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

Sequence in context: A249979 A231512 A250344 * A173223 A114860 A001502

Adjacent sequences:  A135170 A135171 A135172 * A135174 A135175 A135176

KEYWORD

nonn

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 03:10 EDT 2019. Contains 323412 sequences. (Running on oeis4.)