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.

A169652 a(1) = 5, a(n) = square of sum of previous terms.

This page as a plain text file.
%I A169652 #14 May 04 2021 06:59:18
%S A169652 5,25,900,864900,749661588900,561993796031809299372900,
%T A169652 315837026779085485103717848762253067469831416900,
%U A169652 99753027484652761836825641888570160231510113731744254964202314837133807826801896930564374920900
%N A169652 a(1) = 5, a(n) = square of sum of previous terms.
%C A169652 sqrt(a(n+1)/a(n)) = A144780(n).
%H A169652 Indranil Ghosh, <a href="/A169652/b169652.txt">Table of n, a(n) for n = 1..11</a>
%F A169652 a(n+1) = [Sum_{i=1..n}{a(i)}]^2, with a(1)=5. [_Paolo P. Lava_, Apr 23 2010]
%p A169652 P:=proc(i) local a,s,n; print(5); s:=5; for n from 0 by 1 to i do a:=s^2; print(a); s:=s+a; od; end: P(100); # _Paolo P. Lava_, Apr 23 2010
%t A169652 lst={5};Do[AppendTo[lst,Total[lst]^2],{10}];lst (* _Harvey P. Dale_, Sep 28 2012 *)
%o A169652 (Python)
%o A169652 #Program to generate the b-file
%o A169652 lst=[5]
%o A169652 print("1 5")
%o A169652 i=2
%o A169652 a=sum(lst)**2
%o A169652 while i<=11:
%o A169652     print(str(i)+" "+str(a))
%o A169652     lst.append(a)
%o A169652     i+=1
%o A169652     a=sum(lst)**2 # _Indranil Ghosh_, Feb 20 2017
%Y A169652 Cf. A144780
%K A169652 easy,nonn
%O A169652 1,1
%A A169652 _Giovanni Teofilatto_, Apr 05 2010