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!)
A075892 Average of squares of successive primes: a(n) = (prime(n+1)^2 + prime(n)^2)/2, with n >= 2. 4

%I #36 Jul 27 2022 11:44:27

%S 17,37,85,145,229,325,445,685,901,1165,1525,1765,2029,2509,3145,3601,

%T 4105,4765,5185,5785,6565,7405,8665,9805,10405,11029,11665,12325,

%U 14449,16645,17965,19045,20761,22501,23725,25609,27229,28909,30985,32401

%N Average of squares of successive primes: a(n) = (prime(n+1)^2 + prime(n)^2)/2, with n >= 2.

%C a(n) is prime for n in A240749. - _Robert Israel_, Jul 06 2017

%C If p and q are primes such that p > q > 3, then ((p^2 - q^2)/2, p*q, (p^2 + q^2)/2) is a primitive Pythagorean triple. - _César Aguilera_, Jun 02 2022

%H Zak Seidov, <a href="/A075892/b075892.txt">Table of n, a(n) for n = 2..10001</a>

%F a(n)^2 = A124434(n)^2 + A006094(n)^2. - _César Aguilera_, Jun 02 2022

%e a(2)=17 because (prime(3)^2 + prime(2)^2)/2 = (5^2 + 3^2)/2 = 17.

%p seq((ithprime(i)^2 + ithprime(i+1)^2)/2, i=2..100); # _Robert Israel_, Jul 06 2017

%t Table[(Prime[n + 1]^2 + Prime[n]^2)/2, {n, 2, 50}] (* _Vincenzo Librandi_, Mar 07 2015 *)

%t p=2;q=3;Table[p=q;q=NextPrime[q];(q^2+p^2)/2,{100}] (* _Zak Seidov_, Jul 06 2017 *)

%o (PARI) a(n) = (prime(n+1)^2+prime(n)^2)/2; \\ _Michel Marcus_, Oct 03 2013

%o (Magma) [(NthPrime(n+1)^2+NthPrime(n)^2)/2: n in [2..50]]; // _Vincenzo Librandi_, Mar 07 2015

%Y Cf. A006094, A124434, A143850, A240749.

%K nonn,easy

%O 2,1

%A _Zak Seidov_, Oct 17 2002

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 16 12:36 EDT 2024. Contains 371711 sequences. (Running on oeis4.)