The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067339 Divide the natural numbers in sets of consecutive numbers, starting with {1,2}, each set with number of elements equal to the sum of elements of the preceding set. The final element of the n-th set gives a(n). 1
2, 5, 17, 155, 12092, 73114280, 2672849006516342, 3572060905817699556013859788655, 6379809557435582128907282471160505774257452233828787563248842 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sets begin {1, 2}, {3, 4, 5}, {6, 7, 8, ..., 17}, ...
LINKS
FORMULA
a(n)=a(n-1)*(a(n-1)+1)/2 + 2
a(n)=a(n-1)+A067338(n). - M. F. Hasler, Jan 23 2015
a(n) ~ 2 * c^(2^n), where c = 1.312718001584962838462131787518361199185077166417566246117... . - Vaclav Kotesovec, Dec 09 2015
MATHEMATICA
RecurrenceTable[{a[n] == a[n-1]*(a[n-1]+1)/2 + 2, a[1]==2}, a, {n, 1, 10}] (* Vaclav Kotesovec, Dec 09 2015 *)
NestList[(#(#+1))/2+2&, 2, 10] (* Harvey P. Dale, Jun 17 2017 *)
PROG
(PARI) a(n) = if(n>1, a(n-1)*(a(n-1)+1)/2)+2 \\ Edited by M. F. Hasler, Jan 23 2015
(PARI) vector(10, i, if(i>1, n=n*(a+a-n+1)/2; a+=n, n=a=2)) \\ M. F. Hasler, Jan 23 2015
CROSSREFS
Cf. A006894, A002658. Partial sums of A067338.
Sequence in context: A210525 A074046 A123374 * A096848 A283107 A269834
KEYWORD
easy,nonn
AUTHOR
Floor van Lamoen, Jan 16 2002
EXTENSIONS
More terms from Jason Earls, Jan 16 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 19:00 EDT 2024. Contains 372720 sequences. (Running on oeis4.)