login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A044739
Numbers n such that string 2,6 occurs in the base 10 representation of n but not of n+1.
0
26, 126, 226, 269, 326, 426, 526, 626, 726, 826, 926, 1026, 1126, 1226, 1269, 1326, 1426, 1526, 1626, 1726, 1826, 1926, 2026, 2126, 2226, 2269, 2326, 2426, 2526, 2699, 2726, 2826, 2926, 3026, 3126, 3226, 3269, 3326, 3426
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {2, 6}]>0, 1, 0], {n, 3500}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 04 2017 *)
CROSSREFS
Sequence in context: A126413 A246032 A044358 * A304834 A304169 A356535
KEYWORD
nonn,base
STATUS
approved