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!)
A261464 a(n) = prime(n+2)^3 - prime(n+1)^2 + prime(n). 0
118, 321, 1287, 2083, 4755, 6583, 11823, 23879, 28973, 49721, 67583, 77863, 102015, 146711, 202617, 223553, 297101, 353483, 384043, 487781, 565619, 698159, 904835, 1020981, 1082623, 1214535, 1283683, 1431123, 2035723, 2232075, 2554319, 2666981, 3288765 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = prime(n+2)^3 - prime(n+1)^2 + prime(n).
EXAMPLE
a(1) = 5^3 - 3^2 + 2 = 118.
MATHEMATICA
Table[Prime[n + 2]^3 - Prime[n + 1]^2 + Prime[n], {n, 60}] (* Vincenzo Librandi, Aug 20 2015 *)
PROG
(Magma) [NthPrime(n+2)^3-NthPrime(n+1)^2+NthPrime(n): n in [1.. 35]]; // Vincenzo Librandi, Aug 20 2015
(PARI) vector(40, n, prime(n+2)^3-prime(n+1)^2+prime(n)) \\ Michel Marcus, Aug 20 2015
CROSSREFS
Sequence in context: A066734 A146337 A165462 * A250793 A334646 A232776
KEYWORD
nonn
AUTHOR
Altug Alkan, Aug 20 2015
EXTENSIONS
More terms from Vincenzo Librandi, Aug 20 2015
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 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)