|
|
A033044
|
|
Sums of distinct powers of 7.
|
|
8
|
|
|
0, 1, 7, 8, 49, 50, 56, 57, 343, 344, 350, 351, 392, 393, 399, 400, 2401, 2402, 2408, 2409, 2450, 2451, 2457, 2458, 2744, 2745, 2751, 2752, 2793, 2794, 2800, 2801, 16807, 16808, 16814, 16815, 16856, 16857, 16863, 16864, 17150, 17151, 17157
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
Numbers without any base-7 digits greater than 1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{i=0..m} d(i)*7^i, where Sum_{i=0..m} d(i)*2^i is the base-2 representation of n.
a(2n) = 7*a(n), a(2n+1) = a(2n)+1.
G.f.: (x/(1 - x))*Sum_{k>=0} 7^k*x^(2^k)/(1 + x^(2^k)). - Ilya Gutkovskiy, Jun 04 2017
|
|
MATHEMATICA
|
t = Table[FromDigits[RealDigits[n, 2], 7], {n, 0, 100}]
FromDigits[#, 7]&/@Tuples[{0, 1}, 6] (* Harvey P. Dale, Apr 30 2015 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|