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!)
A103858 Number of distinct prime factors of prime(n)! - prime(n)# + 1. 2
0, 0, 2, 1, 2, 2, 2, 2, 4, 2, 3, 4, 4, 5, 5, 3, 5, 3, 4, 6, 5, 4, 5, 6, 9, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
a(27) >= 4. - Amiram Eldar, Jan 21 2024
LINKS
Factordb.com, Status of 103!-103#+1.
Reinhard Zumkeller, prime(n)!-prime(n)#+1.
FORMULA
a(n) = A001221(A103855(n)).
MATHEMATICA
primorial[n_] := Product[Prime[i], {i, n}]; A103855[n_] := Prime[n]! - primorial[n] + 1; PrimeNu[Array[A103855, 20]] (* G. C. Greubel, May 09 2017 *)
PROG
(PARI) a(n) = omega(prime(n)! - prod(k=1, n, prime(k)) + 1); \\ Michel Marcus, Nov 06 2022
CROSSREFS
Sequence in context: A320510 A117173 A241061 * A010554 A062610 A351593
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, Feb 20 2005
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 28 09:58 EDT 2024. Contains 372037 sequences. (Running on oeis4.)