login
A044734
Numbers n such that string 2,1 occurs in the base 10 representation of n but not of n+1.
0
21, 121, 219, 221, 321, 421, 521, 621, 721, 821, 921, 1021, 1121, 1219, 1221, 1321, 1421, 1521, 1621, 1721, 1821, 1921, 2021, 2199, 2219, 2221, 2321, 2421, 2521, 2621, 2721, 2821, 2921, 3021, 3121, 3219, 3221, 3321, 3421
OFFSET
1,1
MATHEMATICA
Select[Range[3500], MemberQ[Partition[IntegerDigits[#], 2, 1], {2, 1}] && !MemberQ[Partition[IntegerDigits[#+1], 2, 1], {2, 1}]&] (* Harvey P. Dale, Sep 16 2011 *)
CROSSREFS
Sequence in context: A245031 A316713 A044353 * A325484 A365205 A361699
KEYWORD
nonn,base
STATUS
approved