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.

A226068 The sum of the positive integers not exceeding 2n that are representable as the sum of two successive sexy primes.

This page as a plain text file.
%I A226068 #11 Jun 19 2019 21:04:49
%S A226068 0,0,0,0,0,0,0,16,16,36,36,36,36,64,64,96,96,96,96,136,136,136,136,
%T A226068 136,136,188,188,188,188,188,188,188,188,256,256,256,256,256,256,336,
%U A226068 336,336,336,424,424,424,424,424
%N A226068 The sum of the positive integers not exceeding 2n that are representable as the sum of two successive sexy primes.
%C A226068 4 divides a(n) for n > 0.
%F A226068 a(n) = 2*Sum_{i=1..n} i * (pi(i-3) - pi(i-4)) * (pi(i+3) - pi(i+2)), where pi is the prime counting function (A000720).
%F A226068 a(n) = Sum_{i=1..2*n} c(i), where c is the characteristic function of A104010. - _R. J. Mathar_, May 28 2013
%p A226068 with(numtheory); A226068:=n->sum( 2*i*(pi(i-3) - pi(i-4)) * (pi(i+3) - pi(i+2)) , i = 1..n);
%p A226068 seq(A226068(k), k = 1..70);
%Y A226068 Cf. A000720, A104010, A098428.
%K A226068 nonn
%O A226068 1,8
%A A226068 _Wesley Ivan Hurt_, May 24 2013