login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A328402 Number of terms of A048103 found in range A002110(n-1) .. A002110(n)-1. 2
1, 3, 17, 130, 1517, 20013, 346902, 6634497, 154067794 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Number of integers from A002110(n-1) to A002110(n)-1 that are in range of A276086.
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); };
A328402(n) = sum(k=A002110(n-1), A002110(n)-1, isA048103(k));
CROSSREFS
Sequence in context: A245059 A321587 A089815 * A247788 A355598 A006759
KEYWORD
nonn,more
AUTHOR
Antti Karttunen, Oct 17 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)