OFFSET
1,2
COMMENTS
The definition applies even if b < 10. Examples: 23_45 = 2*45 + 3 = 93, 23_2 = 2*2 + 3 = 7.
REFERENCES
David Applegate, Marc LeBrun and N. J. A. Sloane, Descending Dungeons and Iterated Base-Changing, in "The Mathematics of Preference, Choice and Order: Essays in Honor of Peter Fishburn", edited by Steven Brams, William V. Gehrlein and Fred S. Roberts, Springer, 2009, pp. 393-402.
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..10000
David Applegate, Marc LeBrun and N. J. A. Sloane, Descending Dungeons and Iterated Base-Changing, arXiv:math/0611293 [math.NT], 2006-2007.
David Applegate, Marc LeBrun, N. J. A. Sloane, Descending Dungeons, Problem 11286, Amer. Math. Monthly, 116 (2009) 466-467.
MAPLE
A122618 := proc(n)
local dgs;
dgs := convert(n, base, 10) ;
add(op(i, dgs)*n^(i-1), i=1..nops(dgs)) ;
end proc: # R. J. Mathar, May 06 2019
MATHEMATICA
f[n_] := FromDigits[ IntegerDigits@n, n]; Array[f, 64] (* Robert G. Wilson v, Sep 27 2006 *)
PROG
(PARI) A122618(n, d=digits(n))=d*vectorv(#d, i, n^(#d-i)) \\ M. F. Hasler, Apr 22 2015
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Sep 21 2006
STATUS
approved