|
|
A056960
|
|
Base 11 reversal of n (written in base 10).
|
|
12
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 12, 23, 34, 45, 56, 67, 78, 89, 100, 111, 2, 13, 24, 35, 46, 57, 68, 79, 90, 101, 112, 3, 14, 25, 36, 47, 58, 69, 80, 91, 102, 113, 4, 15, 26, 37, 48, 59, 70, 81, 92, 103, 114, 5, 16, 27, 38, 49, 60, 71, 82, 93, 104, 115, 6, 17, 28, 39
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
LINKS
|
|
|
MAPLE
|
f:= proc(n) local L, i;
L:= convert(n, base, 11);
add(L[-i]*11^(i-1), i=1..nops(L))
end proc:
|
|
MATHEMATICA
|
IntegerReverse[Range[0, 100], 11] (* Paolo Xausa, Aug 08 2024 *)
|
|
PROG
|
(PARI) a(n) = fromdigits(Vecrev(digits(n, 11)), 11); \\ Michel Marcus, Dec 20 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|