|
Search: id:A145654
|
|
| |
|
| 0, 2, 8, 22, 52, 114, 240, 494, 1004, 2026, 4072, 8166, 16356, 32738, 65504, 131038, 262108, 524250, 1048536, 2097110, 4194260, 8388562, 16777168, 33554382, 67108812, 134217674, 268435400, 536870854, 1073741764, 2147483586
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
In a C/C++ notation, the updates from a(n-1) to a(n) can be written as a+=(a+=n), starting from a(1)=0.
|
|
FORMULA
|
a(n) = sum_{i=1..n} A000918(i). a(n+1)-a(n)=A000918(n+1).
a(n) = A005803(n+1). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 21 2008
|
|
MATHEMATICA
|
lst={}; s=0; Do[s+=(s+=n); AppendTo[lst, s], {n, 0, 5!}]; lst
|
|
CROSSREFS
|
Cf. A000918.
Sequence in context: A094939 A006732 A005803 this_sequence A074352 A017928 A102880
Adjacent sequences: A145651 A145652 A145653 this_sequence A145655 A145656 A145657
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Vladimir Orlovsky (4vladimir(AT)gmail.com), Oct 16 2008
|
|
EXTENSIONS
|
Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 21 2008
|
|
|
Search completed in 0.003 seconds
|