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

A014181
Numbers > 9 with all digits the same.
8
11, 22, 33, 44, 55, 66, 77, 88, 99, 111, 222, 333, 444, 555, 666, 777, 888, 999, 1111, 2222, 3333, 4444, 5555, 6666, 7777, 8888, 9999, 11111, 22222, 33333, 44444, 55555, 66666, 77777, 88888, 99999, 111111, 222222, 333333, 444444, 555555, 666666, 777777, 888888
OFFSET
1,1
COMMENTS
Original definition: Numbers in which all digits are repeated. (This would also include all terms of A033023 (e.g., 1100, 1122, ...) and maybe also 1010, 1212, etc.) - M. F. Hasler, Jun 24 2016
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, -10).
MATHEMATICA
Table[Map[FromDigits@ Table[#, k] &, Range@ 9], {k, 2, 6}] // Flatten (* Michael De Vlieger, Jun 24 2016 *)
PROG
(PARI) A014181(n)=10^((n+17)\9)\9*((n-1)%9+1) \\ See A010785 for a nxt() function. - M. F. Hasler, Jun 24 2016
CROSSREFS
Same as A010785 except for one-digit numbers.
Sequence in context: A369347 A239019 A033023 * A302438 A068900 A083852
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Better definition and offset changed to 1 by M. F. Hasler, Jun 24 2016
STATUS
approved