|
|
A260371
|
|
a(n) = A260351(n) - A023811(n), where A260351 is the limit of the orbit of 0 under x -> x + (largest digit not in x) and A023811 is the largest metadrome, both in base n.
|
|
0
|
|
|
0, 0, 3, 20, 0, 6, 56, 0, 9, 110, 1848, 12, 208, 210, 270, 272, 0, 124182, 16017
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,3
|
|
COMMENTS
|
a(n) is a multiple of n-1.
Conjecture: a(3k+1) = 3k.
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|