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

Numbers > 9 with all digits the same.
8

%I #17 Oct 01 2024 15:36:04

%S 11,22,33,44,55,66,77,88,99,111,222,333,444,555,666,777,888,999,1111,

%T 2222,3333,4444,5555,6666,7777,8888,9999,11111,22222,33333,44444,

%U 55555,66666,77777,88888,99999,111111,222222,333333,444444,555555,666666,777777,888888

%N Numbers > 9 with all digits the same.

%C 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

%H <a href="/index/Rec#order_18">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, -10).

%t Table[Map[FromDigits@ Table[#, k] &, Range@ 9], {k, 2, 6}] // Flatten (* _Michael De Vlieger_, Jun 24 2016 *)

%o (PARI) A014181(n)=10^((n+17)\9)\9*((n-1)%9+1) \\ See A010785 for a nxt() function. - _M. F. Hasler_, Jun 24 2016

%Y Same as A010785 except for one-digit numbers.

%K nonn,base

%O 1,1

%A _N. J. A. Sloane_.

%E Better definition and offset changed to 1 by _M. F. Hasler_, Jun 24 2016