[go: up one dir, main page]

login
A044367
Numbers n such that string 3,5 occurs in the base 10 representation of n but not of n-1.
0
35, 135, 235, 335, 350, 435, 535, 635, 735, 835, 935, 1035, 1135, 1235, 1335, 1350, 1435, 1535, 1635, 1735, 1835, 1935, 2035, 2135, 2235, 2335, 2350, 2435, 2535, 2635, 2735, 2835, 2935, 3035, 3135, 3235, 3335, 3350, 3435
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {3, 5}]>0, 1, 0], {n, 3500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 19 2019 *)
CROSSREFS
Sequence in context: A120398 A339998 A039522 * A044748 A171473 A158586
KEYWORD
nonn,base
STATUS
approved