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.

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

This page as a plain text file.
%I A256289 #4 Mar 23 2015 07:11:52
%S A256289 1,2,3,4,5,6,7,8,0,21,22,23,24,25,26,27,28,20,31,32,33,34,35,36,37,38,
%T A256289 30,41,42,43,44,45,46,47,48,40,51,52,53,54,55,56,57,58,50,61,62,63,64,
%U A256289 65,66,67,68,60,71,72,73,74,75,76
%N A256289 Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 0 to the digits of n written in base 9; do not convert back to base 10.
%C A256289 Base 9 variant of A256078 (base 2) and A048379 (base 10). See A256303 - A256308 for bases 3 through 8, and A256299 for the variant where the result is converted back to base 10.
%e A256289 a(9) = 21 because 9 = "10" in base 9 becomes "21".
%e A256289 a(80) = 0 because 80 = "88" in base 9 becomes "00".
%o A256289 (PARI) A256289(n,b=9)=!n+eval(Strchr(apply(d->(d+1)%b+48, digits(n,b))))
%K A256289 nonn,base,easy
%O A256289 0,2
%A A256289 _M. F. Hasler_, Mar 22 2015