login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A175186
a(1)=0. For 1<= n <= 2^m, m>=0, a(n+ 2^m) = a(n)+n.
2
0, 1, 1, 3, 1, 3, 4, 7, 1, 3, 4, 7, 6, 9, 11, 15, 1, 3, 4, 7, 6, 9, 11, 15, 10, 13, 15, 19, 19, 23, 26, 31, 1, 3, 4, 7, 6, 9, 11, 15, 10, 13, 15, 19, 19, 23, 26, 31, 18, 21, 23, 27, 27, 31, 34, 39, 35, 39, 42, 47, 48, 53, 57, 63, 1, 3, 4, 7, 6, 9, 11, 15, 10, 13, 15, 19, 19, 23, 26, 31
OFFSET
1,4
COMMENTS
a(2^m) = 2^m -1.
MATHEMATICA
f[l_]:=Join[l, l+Range[Length[l]]]; Nest[f, {0}, 7] (* Ray Chandler, Mar 04 2010 *)
CROSSREFS
Sequence in context: A162932 A216036 A008924 * A021323 A284619 A147549
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Mar 01 2010
EXTENSIONS
Extended by Ray Chandler, Mar 04 2010
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy