The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 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
 17, 37, 85, 145, 229, 325, 445, 685, 901, 1165, 1525, 1765, 2029, 2509, 3145, 3601, 4105, 4765, 5185, 5785, 6565, 7405, 8665, 9805, 10405, 11029, 11665, 12325, 14449, 16645, 17965, 19045, 20761, 22501, 23725, 25609, 27229, 28909, 30985, 32401 (list; graph; refs; listen; history; text; internal format)
 OFFSET 2,1 COMMENTS a(n) is prime for n in A240749. - Robert Israel, Jul 06 2017 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 LINKS Zak Seidov, Table of n, a(n) for n = 2..10001 FORMULA a(n)^2 = A124434(n)^2 + A006094(n)^2. - César Aguilera, Jun 02 2022 EXAMPLE a(2)=17 because (prime(3)^2 + prime(2)^2)/2 = (5^2 + 3^2)/2 = 17. MAPLE seq((ithprime(i)^2 + ithprime(i+1)^2)/2, i=2..100); # Robert Israel, Jul 06 2017 MATHEMATICA Table[(Prime[n + 1]^2 + Prime[n]^2)/2, {n, 2, 50}] (* Vincenzo Librandi, Mar 07 2015 *) p=2; q=3; Table[p=q; q=NextPrime[q]; (q^2+p^2)/2, {100}] (* Zak Seidov, Jul 06 2017 *) PROG (PARI) a(n) = (prime(n+1)^2+prime(n)^2)/2; \\ Michel Marcus, Oct 03 2013 (Magma) [(NthPrime(n+1)^2+NthPrime(n)^2)/2: n in [2..50]]; // Vincenzo Librandi, Mar 07 2015 CROSSREFS Cf. A006094, A124434, A143850, A240749. Sequence in context: A319245 A093930 A048880 * A155143 A261529 A141886 Adjacent sequences: A075889 A075890 A075891 * A075893 A075894 A075895 KEYWORD nonn,easy AUTHOR Zak Seidov, Oct 17 2002 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.

Last modified November 28 17:22 EST 2022. Contains 358421 sequences. (Running on oeis4.)