The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A332691 Bijective base-9 representation of the sum of all numbers in bijective base-9 numeration with digit sum n. 2
1, 13, 147, 1636, 18124, 199399, 2314581, 25461653, 281178597, 3192976395, 35233852789, 387573484456, 4374418444135, 48228613881184, 541525753635894, 5956784387951128, 66635738355523786, 743994232656361639, 8285146556418623572, 92246623188575957748 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A052382(A332690(n)).
EXAMPLE
a(2) = 13_bij9 = 12 = 2 + 10 = 2_bij9 + 11_bij9.
MAPLE
b:= proc(n) option remember; `if`(n=0, [1, 0], add((p->
[p[1], p[2]*9+p[1]*d])(b(n-d)), d=1..min(n, 9)))
end:
g:= proc(n) local d, l, m; m, l:= n, "";
while m>0 do d:= irem(m, 9, 'm');
if d=0 then d:=9; m:= m-1 fi; l:= d, l
od; parse(cat(l))
end:
a:= n-> g(b(n)[2]):
seq(a(n), n=1..23);
CROSSREFS
Sequence in context: A110748 A211072 A016135 * A210165 A132156 A324356
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Feb 19 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 14:46 EDT 2024. Contains 372533 sequences. (Running on oeis4.)