|
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
a(n) is the total number of times n occurs in A328404.
|
|
LINKS
|
|
|
FORMULA
|
a(n) <= A061720(n-1) for all n >= 1.
|
|
MATHEMATICA
|
With[{s = FoldList[Times, 1, Prime@ Range@ 7]}, Array[Boole[# == 2] + Count[Range[s[[# - 1]], s[[#]] - 1], _?(Times @@ Boole@ Map[First@ # > Last@ # &, FactorInteger@ #] > 0 &)] &, Length@ s - 1, 2]] (* Michael De Vlieger, Oct 17 2019 *)
|
|
PROG
|
(PARI)
A002110(n) = prod(i=1, n, prime(i));
isA048103(n) = { my(f = factor(n)); for(k=1, #f~, if(f[k, 2]>=f[k, 1], return(0))); (1); };
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|