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

%I #12 Sep 08 2022 08:46:13

%S 118,321,1287,2083,4755,6583,11823,23879,28973,49721,67583,77863,

%T 102015,146711,202617,223553,297101,353483,384043,487781,565619,

%U 698159,904835,1020981,1082623,1214535,1283683,1431123,2035723,2232075,2554319,2666981,3288765

%N a(n) = prime(n+2)^3 - prime(n+1)^2 + prime(n).

%F a(n) = prime(n+2)^3 - prime(n+1)^2 + prime(n).

%e a(1) = 5^3 - 3^2 + 2 = 118.

%t Table[Prime[n + 2]^3 - Prime[n + 1]^2 + Prime[n], {n, 60}] (* _Vincenzo Librandi_, Aug 20 2015 *)

%o (Magma) [NthPrime(n+2)^3-NthPrime(n+1)^2+NthPrime(n): n in [1.. 35]]; // _Vincenzo Librandi_, Aug 20 2015

%o (PARI) vector(40, n, prime(n+2)^3-prime(n+1)^2+prime(n)) \\ _Michel Marcus_, Aug 20 2015

%Y Cf. A136612, A069482, A129701.

%K nonn

%O 1,1

%A _Altug Alkan_, Aug 20 2015

%E More terms from _Vincenzo Librandi_, Aug 20 2015

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 July 14 02:13 EDT 2024. Contains 374290 sequences. (Running on oeis4.)