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.

A030641 a(1) = 6; for n > 1, a(n) = product of next 2 primes after a(n-1).

This page as a plain text file.
%I A030641 #9 Jul 08 2025 19:34:32
%S A030641 6,77,6557,43112347,1858675670994257,3454675249946148511864052376019,
%T A030641 11934781082590483693525046199489720199194471433440678070422853
%N A030641 a(1) = 6; for n > 1, a(n) = product of next 2 primes after a(n-1).
%e A030641 The 2 primes after 77 are 79, 83, so next term is 79*83 = 6557.
%p A030641 A030641 := proc(n)
%p A030641     option remember ;
%p A030641     if n = 1 then
%p A030641         6;
%p A030641     else
%p A030641         A030661(procname(n-1)) ;
%p A030641     end if;
%p A030641 end proc:
%p A030641 seq(A030641(n), n=1..6) ;  # R. J. Mathar, Aug 09 2019
%Y A030641 Cf. A030661, A030642.
%K A030641 nonn
%O A030641 1,1
%A A030641 _N. J. A. Sloane_