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!)
A106587 Sum of n-th prime squared and n-th perfect square. 6

%I #16 Sep 08 2022 08:45:18

%S 5,13,34,65,146,205,338,425,610,941,1082,1513,1850,2045,2434,3065,

%T 3770,4045,4850,5441,5770,6725,7418,8497,10034,10877,11338,12233,

%U 12722,13669,17090,18185,19858,20477,23426,24097,26018,28013,29410,31529,33722

%N Sum of n-th prime squared and n-th perfect square.

%H G. C. Greubel, <a href="/A106587/b106587.txt">Table of n, a(n) for n = 1..1000</a>

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

%e a(5)=146 because 121 (fifth prime^2) + 25 (fifth square) = 146.

%t Table[Prime[n]^2 + n^2, {n, 50}]

%o (Magma) [NthPrime(n)^2 + n^2: n in [1..50]]; // _G. C. Greubel_, Sep 07 2021

%o (Sage) [nth_prime(n)^2 + n^2 for n in (1..50)] # _G. C. Greubel_, Sep 07 2021

%o (PARI) a(n) = n^2 + prime(n)^2; \\ _Michel Marcus_, Sep 08 2021

%Y Cf. A000290, A001248, A014688, A075526, A076368.

%K easy,nonn

%O 1,1

%A _Alexandre Wajnberg_, May 10 2005

%E Extended by _Ray Chandler_, May 13 2005

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)