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.
%I A256296 #3 Mar 23 2015 07:15:08 %S A256296 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, %T A256296 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, %U A256296 93,94,95,90,97,98,99,100,101,96 %N 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. %C A256296 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. %e A256296 a(6) = 13 because 6 = 10[6] becomes 21[6] = 13. %e A256296 a(35) = 0 because 35 = 55[6] becomes 00[6] = 0. %o A256296 (PARI) A256296(n,b=6)=!n+apply(t->(t+1)%b,n=digits(n,b))*vector(#n,i,b^(#n-i))~ %K A256296 nonn,base,easy %O A256296 0,2 %A A256296 _M. F. Hasler_, Mar 22 2015