This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A166456 Row sums of triangle A166455 2
 1, 2, 6, 12, 30, 60, 124, 248, 510, 1020, 2044, 4088, 8188, 16376, 32760, 65520, 131070, 262140, 524284, 1048568, 2097148, 4194296, 8388600, 16777200, 33554428, 67108856, 134217720, 268435440, 536870904, 1073741808, 2147483632 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS FORMULA a(n)=2^(n+1)-A001316(n). [From R. J. Mathar, Oct 30 2009] EXAMPLE a(3) = 12 = (1 + 5 + 5 + 1) PROG Contribution from R. J. Mathar, Oct 30 2009: (Start) (Python) def A000120(n): ...a=0 ...while n > 0: ......a += n % 2 ......n //= 2 ...return a def A001316(n): ...return 2**A000120(n) def A166456(n): ...return 2**(n+1)-A001316(n) print([A166456(n) for n in range(0, 80)]) (End) CROSSREFS Sequence in context: A080742 A005417 A058215 * A162214 A100071 A129912 Adjacent sequences:  A166453 A166454 A166455 * A166457 A166458 A166459 KEYWORD nonn AUTHOR Gary W. Adamson, Oct 14 2009 EXTENSIONS Extended by R. J. Mathar, Oct 30 2009 STATUS approved

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

Last modified July 24 04:08 EDT 2019. Contains 325290 sequences. (Running on oeis4.)