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!)
A023524 Number of distinct prime divisors of prime(n)*prime(n-1) + 1. 3
1, 1, 1, 2, 3, 2, 3, 2, 3, 2, 3, 3, 4, 3, 3, 3, 3, 3, 3, 4, 2, 3, 3, 2, 3, 4, 3, 4, 2, 3, 4, 4, 3, 3, 3, 3, 2, 3, 4, 3, 3, 3, 4, 2, 3, 3, 5, 3, 5, 3, 3, 2, 3, 3, 2, 4, 3, 3, 3, 3, 3, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 4, 4, 4, 6, 3, 4, 3, 2, 2, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
This is taking prime(0)=1. - Robert Israel, Dec 22 2015
LINKS
MAPLE
1, seq(nops(numtheory:-factorset(ithprime(n)*ithprime(n-1)+1)), n=2..100); # Robert Israel, Dec 22 2015
MATHEMATICA
Prepend[Table[PrimeNu[Prime@ n Prime[n - 1] + 1], {n, 2, 80}], 1] (* Michael De Vlieger, Dec 22 2015 *)
PROG
(PARI) a(n) = if (n==1, 1, omega(prime(n)*prime(n-1) + 1)); \\ Michel Marcus, Dec 22 2015
(Magma) [#PrimeDivisors((NthPrime(n)*(NthPrime(n-1))+1)): n in [1..100]]; // Vincenzo Librandi, Dec 23 2015
CROSSREFS
Sequence in context: A171465 A178620 A342866 * A068639 A074070 A304097
KEYWORD
nonn
AUTHOR
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 June 29 18:05 EDT 2024. Contains 373855 sequences. (Running on oeis4.)