login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A280983 The complete list of numbers k such that precisely half of the numbers from 1 to k contain consecutive repeated digits. 0
11824560, 14283650, 14283666, 14283672, 14422716, 14872610, 14872612, 14881986, 14917048, 22453380, 29875904, 29877516, 29878760, 29878776, 29878782, 29878812, 29879052, 29880432, 31852820, 31852822, 31888098, 31894108, 31894110, 31894130, 32255514, 32527482, 32557320, 32565868, 32565888, 32565890, 32566068, 32568748, 32568822, 32569040, 33082200 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Consider a function f(n), which looks at all of the numbers from 1 to n, counts up how many contain consecutive repeated digits, and how many do not, and subtracts the former count from the latter count. For all numbers less than 11824560, f(n) is positive; for all numbers greater than 33082200, f(n) is negative. In between, the function crosses the zero line several times, with the 35 numbers in this sequence being the only values for which f(n)=0.

LINKS

Table of n, a(n) for n=1..35.

EXAMPLE

Among the 29878776 numbers up to and including 29878776, 14939388 contain at least one pair of consecutive digits that are identical, and 14939388 contain no such pair.

Of the six numbers that follow 29878776, 3 have consecutive repeated digits and 3 do not, so therefore 29878782 is also in this list.

CROSSREFS

Sequence in context: A234070 A228978 A234831 * A184651 A123086 A208490

Adjacent sequences:  A280980 A280981 A280982 * A280984 A280985 A280986

KEYWORD

nonn,base,fini,full

AUTHOR

Elliott Line, Jan 11 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 8 20:11 EST 2021. Contains 349596 sequences. (Running on oeis4.)