OFFSET
2,3
COMMENTS
a(n) is a multiple of n-1.
Conjecture: a(3k+1) = 3k.
EXAMPLE
a(10) = 123456798 - 123456789 = 9.
MATHEMATICA
Table[s = 0; t = 1; While[t != 0, t = Complement[Range[0, b - 1], IntegerDigits[s, b]][[-1]]; s = s + t]; s - Total[(#1 b^#2) & @@@ Transpose@ {Range[b - 1], Reverse@ (Range[b - 1] - 1)}], {b, 2, 8}] (* Michael De Vlieger, Jul 24 2015, after Hans Havermann at A260351 *)
CROSSREFS
KEYWORD
nonn,more,base
AUTHOR
Hans Havermann, Jul 23 2015
EXTENSIONS
a(14) from Giovanni Resta, Jul 24 2015
a(15)-a(22) from Hiroaki Yamanouchi, Aug 01 2015
STATUS
approved