%I #3 Mar 23 2015 07:15:40
%S 1,2,3,4,0,11,12,13,14,10,16,17,18,19,15,21,22,23,24,20,1,2,3,4,0,56,
%T 57,58,59,55,61,62,63,64,60,66,67,68,69,65,71,72,73,74,70,51,52,53,54,
%U 50,81,82,83,84,80,86,87,88,89,85
%N Apply the transformation 0 -> 1 -> 2 -> 3 -> 4 -> 0 to the digits of n written in base 5, then convert back to base 10.
%C Base 5 variant of A035327 (base 2) and A048379 (base 10). See A256293 - A256299 for bases 3 through 9, and A256305 for the variant where the result is not converted back to base 10.
%e a(5) = 11 because 5 = 10[5] becomes 21[5] = 11.
%e a(24) = 0 because 24 = 44[5] becomes 00[5] = 0.
%o (PARI) A256295(n,b=5)=!n+apply(t->(t+1)%b,n=digits(n,b))*vector(#n,i,b^(#n-i))~
%K nonn,base,easy
%O 0,2
%A _M. F. Hasler_, Mar 22 2015