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!)
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
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
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)