The OEIS is supported by the many generous donors to the OEIS Foundation.

 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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A297148 Numbers whose base-10 digits d(m), d(m-1),..., d(0) have m=0 or else d(i) = d(i+1) for some i in {0,1,...,m-1}. 3
 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 100, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 122, 133, 144, 155, 166, 177, 188, 199, 200, 211, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 233, 244, 255, 266, 277, 288, 299, 300 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS These numbers comprise the complement of the set of numbers in the union of A297146 and A297147. Differs from A044821 first for 1001, which is in this sequence but not in A044821. - R. J. Mathar, Jan 17 2018 LINKS EXAMPLE Base-10 digits of 65536: 6,5,5,3,6, so that 65536 is in the sequence. MAPLE read("transforms") : isA297148 := proc(n) local dgs, ud; dgs := convert(n, base, 10) ; if nops(dgs) < 2 then return true; end if; if 0 in DIFF(dgs) then true; else false; end if; end proc: for n from 1 to 300 do if isA297148(n) then printf("%d, ", n) ; end if; end do: # R. J. Mathar, Jan 18 2018 MATHEMATICA a[n_, b_] := Sign[Differences[IntegerDigits[n, b]]]; z = 300; b = 10; t = Table[a[n, b], {n, 1, 10*z}]; u = Select[Range[z], ! MemberQ[t[[#]], 0] && First[t[[#]]] == 1 &] (* A297146 *) v = Select[Range[z], ! MemberQ[t[[#]], 0] && First[t[[#]]] == -1 &] (* A297147 *) Complement[Range[z], Union[u, v]] (* A297148 *) CROSSREFS Cf. A297146, A297147. Sequence in context: A306273 A141033 A044821 * A048307 A043713 A296712 Adjacent sequences: A297145 A297146 A297147 * A297149 A297150 A297151 KEYWORD nonn,easy,base AUTHOR Clark Kimberling, Jan 15 2018 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.

Last modified December 6 09:52 EST 2022. Contains 358617 sequences. (Running on oeis4.)