login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A094823 If n = c0 + c1*10 + c2*10^2 + ...cn*10^n then a(n) = c0 + c1*13 + c2*13^2 + ...cn*13^k. 0
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 91, 92, 93 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Table of n, a(n) for n=0..72.

EXAMPLE

n = 12345 = 5+4*10+3*10^2+2*10^3+1*10^4 => a(n) = 5+4*13+3*13^2+2*13^3+1*13^4 = 33519

PROG

(PARI) r1tor2(n, r1, r2) = { local(m, x, r, v); for(j=0, n, v=0; m=j; for(x=0, length(Str(m))-1, r = m%r1; m =floor(m/r1); v += r*r2^(x); ); print1(v", ") ) }

CROSSREFS

Sequence in context: A085889 A342951 A342264 * A032973 A174887 A092598

Adjacent sequences:  A094820 A094821 A094822 * A094824 A094825 A094826

KEYWORD

base,easy,nonn

AUTHOR

Cino Hilliard, Jun 12 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 28 19:33 EDT 2021. Contains 346335 sequences. (Running on oeis4.)