|
| |
|
|
A133445
|
|
Digit sum of "sloping ternary numbers".
|
|
0
| |
|
|
0, 1, 3, 1, 2, 4, 2, 4, 3, 1, 2, 4, 2, 3, 5, 3, 5, 4, 2, 3, 5, 3, 4, 6, 5, 4, 3, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,3
|
|
|
COMMENTS
| Digit sum of A102370 "sloping binary numbers" equals A089400. What about "sloping numbers" and their digit sums in other bases ?
|
|
|
FORMULA
| Digit sum of "sloping ternary numbers" : write numbers in ternary under each other (right justified), read diagonals in upward direction,sum digits.
|
|
|
EXAMPLE
| ........0
.......1
.......2
......10
......11
......12
......20
......21
......22
.....100
.....101
.....102
........
The upward-sloping diagonals are:
0
1
12
10
11
22
20
121
102
......
giving 0, 1, 3, 1, 2, 4, 2, 4, 3, 1, 2, 4, ...
|
|
|
CROSSREFS
| Cf. A102370.
Sequence in context: A004608 A201673 A117905 * A139457 A049992 A074585
Adjacent sequences: A133442 A133443 A133444 * A133446 A133447 A133448
|
|
|
KEYWORD
| nonn,base
|
|
|
AUTHOR
| Ctibor O. ZIZKA (ctibor.zizka(AT)seznam.cz), Dec 22 2007
|
| |
|
|