login
A276340
Shift left the greedy A001563-base (A276326) representation of n (append 0 to the right, then convert back to decimal).
5
0, 4, 8, 12, 18, 22, 26, 30, 36, 40, 44, 48, 54, 58, 62, 66, 72, 76, 96, 100, 104, 108, 114, 118, 122, 126, 132, 136, 140, 144, 150, 154, 158, 162, 168, 172, 192, 196, 200, 204, 210, 214, 218, 222, 228, 232, 236, 240, 246, 250, 254, 258, 264, 268, 288, 292, 296, 300, 306, 310, 314, 318, 324, 328, 332, 336, 342, 346, 350, 354, 360
OFFSET
0,2
LINKS
FORMULA
a(0) = 0; for n >= 1, a(n) = A276338(n) + a(A276335(n)).
Other identities:
a(A001563(n)) = A001563(n+1) for all n >= 1.
EXAMPLE
n A276326 with one zero converted back
appended to the right to decimal = a(n)
---------------------------------------------------------
0 0 00 0
1 1 10 4
2 2 20 8
3 3 30 12
4 10 100 18
5 11 110 22
6 12 120 26
7 13 130 30
8 20 200 36
9 21 210 40
10 22 220 44
11 23 230 48
12 30 300 54
13 31 310 58
14 32 320 62
15 33 330 66
16 40 400 72
17 41 410 76
18 100 1000 96
PROG
(Scheme) (definec (A276340 n) (if (zero? n) n (+ (A276338 n) (A276340 (A276335 n)))))
CROSSREFS
Cf. A276341 (complement).
Cf. also A153880, A255411, A276091.
Sequence in context: A311591 A311592 A311593 * A311594 A311595 A311596
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 01 2016
STATUS
approved