[go: up one dir, main page]

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”).

A072803
a(n) is n written in base n mod 10, or 0 if n mod 10 = 0.
5
1, 10, 10, 10, 10, 10, 10, 10, 10, 0, 11111111111, 1100, 111, 32, 30, 24, 23, 22, 21, 0, 111111111111111111111, 10110, 212, 120, 100, 42, 36, 34, 32, 0, 1111111111111111111111111111111, 100000, 1020, 202, 120, 100, 52, 46, 43, 0
OFFSET
1,2
EXAMPLE
In base 1, n =11...11=n written n times; in base 0 baseform is taken as 0.
MATHEMATICA
Table[BaseForm[w, Mod[w, 10]], {w, 1, 128}]
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Jul 12 2002
STATUS
approved