The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271569 Repdigit numbers n such that the repeated digit of n is equal to the digital root of n. 0
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 99, 999, 3333, 6666, 9999, 99999, 999999, 3333333, 6666666, 9999999, 99999999, 999999999, 1111111111, 2222222222, 3333333333, 4444444444, 5555555555, 6666666666, 7777777777, 8888888888, 9999999999, 99999999999, 999999999999, 3333333333333, 6666666666666, 9999999999999 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Sequence is trivially infinite.
If we regard m-digit repdigits that repeat digit k as rows of a number triangle T(m, k) and we ignore the term 0, then we would have k = (1, ..., 9) for m = 1 (mod 9), k = (3, 6, 9) for m = 4 or 7 (mod 9), and k = 9 for all other values of m (mod 9). Thus the row lengths L for increasing values of m starting with m = 1 are {9, 1, 1, 3, 1, 1, 3, 1, 1} repeated. - Michael De Vlieger, Jul 13 2016.
LINKS
EXAMPLE
3333 is a term because 3 + 3 + 3 + 3 = 12, 1 + 2 = 3.
MATHEMATICA
Union@ Flatten@ Table[Map[Function[k, If[NestWhile[Total@ IntegerDigits@ # &, #, IntegerLength@ # > 1 &] == k, #, 0] &@ FromDigits@ Table[k, {n}]], Range@ 9], {n, 13}] (* Michael De Vlieger, Jul 13 2016 *)
CROSSREFS
Sequence in context: A348834 A342978 A281091 * A239138 A345964 A298425
KEYWORD
nonn,easy,base,less
AUTHOR
Altug Alkan, Jul 13 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 19:00 EDT 2024. Contains 372720 sequences. (Running on oeis4.)