This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 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

%I

%S 0,0,3,20,0,6,56,0,9,110,1848,12,208,210,270,272,0,124182,16017

%N 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.

%C a(n) is a multiple of n-1.

%C Conjecture: a(3k+1) = 3k.

%e a(10) = 123456798 - 123456789 = 9.

%t 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 *)

%Y Cf. A023811, A260351.

%K nonn,more,base

%O 2,3

%A _Hans Havermann_, Jul 23 2015

%E a(14) from _Giovanni Resta_, Jul 24 2015

%E a(15)-a(22) from _Hiroaki Yamanouchi_, Aug 01 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 9 13:50 EST 2019. Contains 329877 sequences. (Running on oeis4.)