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.

A074271 Previous term + prime(previous term).

This page as a plain text file.
%I A074271 #20 Nov 02 2024 12:45:27
%S A074271 1,3,8,27,130,863,7554,84385,1165814,19408513,381328184,8690396907,
%T A074271 226500350374,6671888768963,219904832427160,8040978338951561,
%U A074271 323784549401655250,14264968083112608087
%N A074271 Previous term + prime(previous term).
%F A074271 a(1) = 1; a(n) = a(n-1) + prime(a(n-1)).
%F A074271 a(n) = A000720(A093502(n)). - _Antti Karttunen_, Nov 02 2024
%e A074271 a(4)=27 because a(3)=8, prime(8)=19 and 8+19=27.
%t A074271 se={1}; a=1; Do[b=a+Prime[a]; se=Append[se, b]; a=b, {i, 13}]; se
%t A074271 NestList[ Prime@# + # &, 1, 14] (* _Robert G. Wilson v_, Jul 17 2010 *)
%Y A074271 Cf. A000040, A000720, A093502.
%Y A074271 Cf. also A007097, A179274.
%K A074271 nonn
%O A074271 1,2
%A A074271 _Zak Seidov_, Sep 21 2002
%E A074271 a(15) from _Robert G. Wilson v_, Jul 17 2010
%E A074271 a(16)-a(18) from _Charles R Greathouse IV_, Mar 15 2011