[go: up one dir, main page]

login
A044387
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, 550, 655, 755, 855, 955, 1055, 1155, 1255, 1355, 1455, 1550, 1655, 1755, 1855, 1955, 2055, 2155, 2255, 2355, 2455, 2550, 2655, 2755, 2855, 2955, 3055, 3155, 3255, 3355, 3455, 3550, 3655, 3755, 3855
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {5, 5}]>0, 1, 0], {n, 4000}], {0, 1}][[All, 2]] (* Harvey P. Dale, Aug 13 2021 *)
CROSSREFS
Sequence in context: A072429 A046438 A043510 * A044768 A352268 A276050
KEYWORD
nonn,base
STATUS
approved