OFFSET
1,36
FORMULA
a(A275450(n)) > 0.
EXAMPLE
Primorial(3) equals 30, which contains 3 once, therefore a(3) = 1.
MATHEMATICA
primorial[n_]:=Product[Prime[i], {i, 1, n}];
Table[Length[StringPosition[ToString[primorial[n]], ToString[n]]], {n, 1, 100}]
SequenceCount[IntegerDigits[#[[1]]], IntegerDigits[#[[2]]]]&/@With[ {nn=90}, Thread[ {FoldList[ Times, Prime[Range[nn]]], Range[nn]}]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 16 2017 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Ivan N. Ianakiev, Jul 28 2016
STATUS
approved