Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #28 Mar 30 2017 22:30:58
%S 0,1,2,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,24,25,26,27,28,
%T 29,30,31,32,34,35,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,54,
%U 55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,74
%N For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(2).
%C An alternative and simpler definition: numbers not ending in 3. - _Charles R Greathouse IV_, Feb 07 2014
%F G.f.: (x^9 +x^8 +x^7 +x^6 +x^5 +x^4 +2*x^3 +x^2 +x) / (x^10 -x^9 -x +1). - _Alois P. Heinz_, Feb 07 2014
%Y Subsequence of A052405.
%Y Cf. A235499, A237341 - A237346.
%K nonn,base,easy
%O 0,3
%A _Vincenzo Librandi_, Feb 06 2014
%E Definition by _N. J. A. Sloane_, Feb 07 2014