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!)
A066835 a(n) = omega((prime(n)-1)! + 1), where omega is given by A001221, primes in A000040. 0
1, 1, 1, 2, 2, 2, 5, 6, 3, 2, 5, 6, 7, 3, 3, 4, 4, 4, 5, 5, 7, 6, 3, 3, 5, 5, 5, 6, 6, 6, 6, 4, 4, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
Eric Weisstein's World of Mathematics, Wilson's Theorem
FORMULA
a(n) = A066856(A006093(n)). - Jinyuan Wang, Apr 01 2020
EXAMPLE
a(7) = omega(prime(7)-1)! + 1) = omega((17-1)! + 1) = omega(16! + 1) = omega(2092278988800 + 1) = omega(2092278988801) = 5, as 2092278988801 = 17 * 61 * 137 * 139 * 1059511 = prime(7)*prime(18)*prime(33)*prime(34)*prime(82801).
MATHEMATICA
Table[ Length[ FactorInteger[ (Prime[ n ] - 1)! + 1 ] ], {n, 1, 15} ]
PROG
(PARI) a(n) = omega((prime(n)-1)! + 1); \\ Jinyuan Wang, Apr 01 2020
CROSSREFS
Sequence in context: A073819 A190846 A214787 * A123953 A097006 A033306
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, Jan 20 2002
EXTENSIONS
More terms from Robert G. Wilson v, Jan 21 2002
a(27)-a(34) from Jinyuan Wang, Apr 01 2020
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 23 10:13 EDT 2024. Contains 371905 sequences. (Running on oeis4.)