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

A044633
Numbers n such that string 0,1 occurs in the base 9 representation of n but not of n+1.
0
82, 163, 244, 325, 406, 487, 568, 649, 730, 746, 811, 892, 973, 1054, 1135, 1216, 1297, 1378, 1459, 1475, 1540, 1621, 1702, 1783, 1864, 1945, 2026, 2107, 2188, 2204, 2269, 2350, 2431, 2512, 2593, 2674, 2755, 2836, 2917
OFFSET
1,1
MATHEMATICA
Select[Range[3000], MemberQ[Partition[IntegerDigits[#, 9], 2, 1], {0, 1}] && !MemberQ[ Partition[IntegerDigits[#+1, 9], 2, 1], {0, 1}]&] (* Harvey P. Dale, Feb 20 2013 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 9], {0, 1}]>0, 1, 0], {n, 3000}], {1, 0}] [[;; , 1]] (* Harvey P. Dale, Jan 16 2024 *)
CROSSREFS
Sequence in context: A173087 A264352 A044252 * A158123 A370951 A044414
KEYWORD
nonn,base
STATUS
approved