login
A044768
Numbers n such that string 5,5 occurs in the base 10 representation of n but not of n+1.
0
55, 155, 255, 355, 455, 559, 655, 755, 855, 955, 1055, 1155, 1255, 1355, 1455, 1559, 1655, 1755, 1855, 1955, 2055, 2155, 2255, 2355, 2455, 2559, 2655, 2755, 2855, 2955, 3055, 3155, 3255, 3355, 3455, 3559, 3655, 3755, 3855
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {5, 5}]>0, 1, 0], {n, 4000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 14 2018 *)
CROSSREFS
Sequence in context: A046438 A043510 A044387 * A352268 A276050 A256353
KEYWORD
nonn,base
STATUS
approved