cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A256306 Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 0 to the digits of n written in base 6; do not convert back to base 10.

This page as a plain text file.
%I A256306 #3 Mar 23 2015 07:13:12
%S A256306 1,2,3,4,5,0,21,22,23,24,25,20,31,32,33,34,35,30,41,42,43,44,45,40,51,
%T A256306 52,53,54,55,50,1,2,3,4,5,0,211,212,213,214,215,210,221,222,223,224,
%U A256306 225,220,231,232,233,234,235,230,241,242,243,244,245,240
%N A256306 Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 0 to the digits of n written in base 6; do not convert back to base 10.
%C A256306 Base 6 variant of A256078 (base 2) and A048379 (base 10). See A256303 - A256308 for bases 3 through 8, A256289 for base 9, and A256296 for the variant where the result is converted back to base 10.
%e A256306 a(6) = 21 because 6 = "10" (in base 6) becomes "21".
%e A256306 a(35) = 0 because 35 = "55" (in base 6) becomes "00".
%o A256306 (PARI) A256306(n,b=6)=!n+eval(Strchr(apply(d->(d+1)%b+48, digits(n,b))))
%K A256306 nonn,base,easy
%O A256306 0,2
%A A256306 _M. F. Hasler_, Mar 22 2015