|
|
A033049
|
|
Sums of distinct powers of 13.
|
|
5
|
|
|
0, 1, 13, 14, 169, 170, 182, 183, 2197, 2198, 2210, 2211, 2366, 2367, 2379, 2380, 28561, 28562, 28574, 28575, 28730, 28731, 28743, 28744, 30758, 30759, 30771, 30772, 30927, 30928, 30940, 30941, 371293, 371294, 371306, 371307, 371462
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
Numbers without any base-13 digits greater than 1.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{i=0..m} d(i)*13^i, where Sum_{i=0..m} d(i)*2^i is the base-2 representation of n.
a(2n) = 13*a(n), a(2n+1) = a(2n)+1.
G.f.: (1/(1 - x))*Sum_{k>=0} 13^k*x^(2^k)/(1 + x^(2^k)). - Ilya Gutkovskiy, Jun 04 2017
|
|
MATHEMATICA
|
With[{k = 13}, Map[FromDigits[#, k] &, Tuples[{0, 1}, 6]]] (* Michael De Vlieger, Oct 28 2022 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|