login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A037901
a(n)=(greatest base 7 digit of n)-(least base 7 digit of n).
0
0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 3, 4, 5, 2, 1, 0, 1, 2, 3, 4, 3, 2, 1, 0, 1, 2, 3, 4, 3, 2, 1, 0, 1, 2, 5, 4, 3, 2, 1, 0, 1, 6, 5, 4, 3, 2, 1, 0, 1, 1, 2, 3, 4, 5, 6, 1, 0, 1, 2, 3, 4, 5, 2, 1, 1, 2, 3, 4, 5, 3, 2, 2, 2, 3, 4, 5, 4, 3, 3, 3, 3, 4, 5, 5, 4, 4, 4, 4, 4, 5
OFFSET
1,10
CROSSREFS
Sequence in context: A324395 A350112 A037893 * A037839 A165072 A141404
KEYWORD
nonn,base
STATUS
approved