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.

A160793 Natural numbers and the sum of first n primes interleaved.

This page as a plain text file.
%I A160793 #22 Nov 24 2019 09:58:54
%S A160793 1,2,2,5,3,10,4,17,5,28,6,41,7,58,8,77,9,100,10,129,11,160,12,197,13,
%T A160793 238,14,281,15,328,16,381,17,440,18,501,19,568,20,639,21,712,22,791,
%U A160793 23,874,24,963,25,1060,26,1161,27,1264,28,1371,29,1480
%N A160793 Natural numbers and the sum of first n primes interleaved.
%C A160793 Also first differences of A160792: length of edges of a square spiral related to prime numbers A000040 whose vertices are the numbers A160792.
%C A160793 A000027 and A007504 interleaved. - _Omar E. Pol_, Oct 31 2011
%H A160793 Harvey P. Dale, <a href="/A160793/b160793.txt">Table of n, a(n) for n = 1..1000</a>
%F A160793 a(2n-1) = n, a(2n) = A007504(n). - _Omar E. Pol_, Oct 31 2011
%t A160793 Module[{nn=30,sp},sp=Accumulate[Prime[Range[nn]]];Riffle[Range[nn],sp]] (* _Harvey P. Dale_, May 22 2018 *)
%Y A160793 Cf. A000040, A160790, A160791, A160792.
%K A160793 easy,nonn
%O A160793 1,2
%A A160793 _Omar E. Pol_, May 29 2009
%E A160793 More terms from _Sean A. Irvine_, Oct 31 2011
%E A160793 New definition from _Omar E. Pol_, Oct 31 2011