OFFSET
1,3
COMMENTS
This is taking prime(0)=1 (see first comment in A023515). - Vincenzo Librandi, Apr 27 2019
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
MAPLE
0, seq(nops(numtheory:-factorset(ithprime(n)*ithprime(n-1)-1)), n=2..120); # Muniru A Asiru, Apr 29 2019
MATHEMATICA
Prepend[Table[PrimeNu[Prime[n] Prime[n-1] - 1], {n, 2, 80}], 0] (* Vincenzo Librandi, Apr 27 2019 *)
PROG
(Magma) [#PrimeDivisors(NthPrime(n)*(NthPrime(n-1))-1): n in [1..100]]; // Vincenzo Librandi, Apr 27 2019
(PARI) a(n) = if (n==1, 0, omega(prime(n)*prime(n-1) - 1)); \\ Michel Marcus, Apr 30 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved