VOOZH
about
URL: https://oeis.org/A256296
⇱ A256296 - OEIS
login
A256296
Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 0 to the digits of n written in base 6, then convert back to base 10.
2
1, 2, 3, 4, 5, 0, 13, 14, 15, 16, 17, 12, 19, 20, 21, 22, 23, 18, 25, 26, 27, 28, 29, 24, 31, 32, 33, 34, 35, 30, 1, 2, 3, 4, 5, 0, 79, 80, 81, 82, 83, 78, 85, 86, 87, 88, 89, 84, 91, 92, 93, 94, 95, 90, 97, 98, 99, 100, 101, 96
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
0,2
COMMENTS
Base 6 variant of
A035327
(base 2) and
A048379
(base 10). See
A256293
-
A256299
for bases 3 through 9, and
A256306
for the variant where the result is not converted back to base 10.
LINKS
Table of n, a(n) for n=0..59.
EXAMPLE
a(6) = 13 because 6 = 10[6] becomes 21[6] = 13.
a(35) = 0 because 35 = 55[6] becomes 00[6] = 0.
PROG
(PARI)
A256296
(n, b=6)=!n+apply(t->(t+1)%b, n=digits(n, b))*vector(#n, i, b^(#n-i))~
CROSSREFS
Sequence in context:
A080744
A378226
A265518
*
A256306
A030548
A346690
Adjacent sequences:
A256293
A256294
A256295
*
A256297
A256298
A256299
KEYWORD
nonn
,
base
,
easy
AUTHOR
M. F. Hasler
, Mar 22 2015
STATUS
approved