cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A303223 Sum of the perimeters of the family of rectangles with dimensions p and q such that |q - p| is prime, n = p + q and p < q.

This page as a plain text file.
%I A303223 #6 May 02 2018 10:18:54
%S A303223 0,0,0,8,10,12,28,16,54,20,66,24,104,28,150,32,170,36,228,40,294,44,
%T A303223 322,48,400,52,432,56,464,60,558,64,660,68,700,72,740,76,858,80,902,
%U A303223 84,1032,88,1170,92,1222,96,1372,100,1428,104,1484,108,1650,112,1710
%N A303223 Sum of the perimeters of the family of rectangles with dimensions p and q such that |q - p| is prime, n = p + q and p < q.
%H A303223 <a href="/index/Par#part">Index entries for sequences related to partitions</a>
%F A303223 a(n) = 2n * Sum_{i=1..floor((n-1)/2)} A010051(n-2i).
%t A303223 Table[2 n*Sum[(PrimePi[n - 2 i] - PrimePi[n - 2 i - 1]), {i, Floor[(n - 1)/2]}], {n, 80}]
%o A303223 (PARI) a(n) = 2*n*sum(i=1, (n-1)\2, isprime(n-2*i)); \\ _Michel Marcus_, Apr 21 2018
%Y A303223 Cf. A010051, A294247.
%K A303223 nonn,easy
%O A303223 1,4
%A A303223 _Wesley Ivan Hurt_, Apr 19 2018