login
A044764
Numbers n such that string 5,1 occurs in the base 10 representation of n but not of n+1.
0
51, 151, 251, 351, 451, 519, 551, 651, 751, 851, 951, 1051, 1151, 1251, 1351, 1451, 1519, 1551, 1651, 1751, 1851, 1951, 2051, 2151, 2251, 2351, 2451, 2519, 2551, 2651, 2751, 2851, 2951, 3051, 3151, 3251, 3351, 3451, 3519
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[ IntegerDigits[ n], 2, 1], {5, 1}], 1, 0], {n, 3600}], 2, 1], {1, 0}]] (* Harvey P. Dale, Aug 17 2014 *)
CROSSREFS
Sequence in context: A044683 A348000 A044383 * A257352 A353599 A008883
KEYWORD
nonn,base
STATUS
approved