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!)
A260188 Greatest primorial less than or equal to n. 8
1, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = max_{A034386(i) <= n} A034386(i).
a(n) >> n/log n. - Charles R Greathouse IV, Jul 20 2015
Sum_{n>=1} 1/a(n)^2 = A249270. - Amiram Eldar, Aug 09 2022
EXAMPLE
a(5) = 2 because 2 is the greatest primorial less than or equal to 5.
a(31) = 30 because 30 is the greatest primorial less than or equal to 31.
MATHEMATICA
Table[k = 0; While[Times @@ Prime@ Range[k + 1] <= n, k++]; Times @@ Prime@ Range@ k, {n, 120}] (* Michael De Vlieger, Aug 30 2016 *)
PROG
(PARI) a(n)=my(t=1, k); forprime(p=2, , k=t*p; if(k>n, return(t), t=k)) \\ Charles R Greathouse IV, Jul 20 2015
CROSSREFS
Cf. A034386 (primorials), A048764, A249270.
Sequence in context: A279466 A116863 A136494 * A048764 A327663 A248782
KEYWORD
nonn
AUTHOR
Jean-Marc Rebert, Jul 18 2015
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 August 9 09:08 EDT 2024. Contains 375035 sequences. (Running on oeis4.)