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.

A174518 Sums of two consecutive primes and composite numbers in-between.

This page as a plain text file.
%I A174518 #7 Apr 27 2021 18:53:24
%S A174518 5,12,18,45,36,75,54,105,182,90,238,195,126,225,350,392,180,448,345,
%T A174518 216,532,405,602,837,495,306,525,324,555,1800,645,938,414,1584,450,
%U A174518 1078,1120,825,1190,1232,540,2046,576,975,594,2665,2821,1125,684,1155,1652
%N A174518 Sums of two consecutive primes and composite numbers in-between.
%F A174518 a(n) = Sum_{k=prime(n)..prime(n+1)} k. - _Wesley Ivan Hurt_, Apr 27 2021
%t A174518 f[n_,x_]:=n*x+x*(x+1)/2;Table[Prime[n]+f[Prime[n],Prime[n+1]-Prime[n]-1]+Prime[n+1],{n,5!}]
%Y A174518 Cf. A034962, A054265.
%K A174518 nonn
%O A174518 1,1
%A A174518 _Vladimir Joseph Stephan Orlovsky_, Mar 21 2010