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.

A240804 a(n) = -2 + product of first n odd primes.

This page as a plain text file.
%I A240804 #20 Sep 08 2022 08:46:07
%S A240804 1,13,103,1153,15013,255253,4849843,111546433,3234846613,100280245063,
%T A240804 3710369067403,152125131763603,6541380665835013,307444891294245703,
%U A240804 16294579238595022363,961380175077106319533,58644190679703485491633,3929160775540133527939543,278970415063349480483707693
%N A240804 a(n) = -2 + product of first n odd primes.
%H A240804 Vincenzo Librandi, <a href="/A240804/b240804.txt">Table of n, a(n) for n = 1..200</a>
%H A240804 Des MacHale, <a href="http://dx.doi.org/10.2307/3621650">Infinitely many proofs that there are infinitely many primes</a>, Math. Gazette, 97 (No. 540, 2013), 495-498.
%F A240804 a(n) = A070826(n+1)-2. - _R. J. Mathar_, May 03 2017
%t A240804 Table[Product[Prime[k + 1], {k, 1, n}] - 2, {n, 1, 40}] (* _Vincenzo Librandi_, Apr 15 2014 *)
%t A240804 Rest[FoldList[Times,1,Prime[Range[2,20]]]]-2 (* _Harvey P. Dale_, Mar 17 2015 *)
%o A240804 (Magma) [-2+&*[NthPrime(i+1): i in [1..n]]: n in [1..20]]; // _Vincenzo Librandi_, Apr 15 2014
%Y A240804 Cf. A000945, A000946, A005265, A005266, A240803.
%K A240804 nonn,easy
%O A240804 1,2
%A A240804 _N. J. A. Sloane_, Apr 14 2014