a(n) is the absolute value of (the first digit of n minus the last digit of n).

A040163

a(n) is the absolute value of (the first digit of n minus the last digit of n).

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =0a(9) =1a(10) =0a(11) =1a(12) =2a(13) =3a(14) =4a(15) =5a(16) =6a(17) =7a(18) =8a(19) =2a(20) =1a(21) =0a(22) =1a(23) =2a(24) =3a(25) =4a(26) =5a(27) =6a(28) =7a(29) =3

External references