OFFSET
1,1
FORMULA
a(n) = A126199(n) + 1 (after above formula). - Omar E. Pol, Dec 08 2019
EXAMPLE
a(1) = sigma(2*3) = 12, a(2) = sigma(3*5) = 24.
MATHEMATICA
DivisorSigma[1, #]&/@(Times@@@Partition[Prime[Range[50]], 2, 1]) (* Harvey P. Dale, Apr 04 2015 *)
Table[Prime[n]*Prime[n+1]+Prime[n]+Prime[n+1]+1, {n, 1, 30}] (* Metin Sariyar, Dec 08 2019 *)
PROG
(PARI) for (n=1, 10, i=prod(x=n, n+1, prime(x)); p=sigma(i); print1(p, ", "); )
(PARI) a(n)=my(p=prime(n)); (p+1)*(nextprime(p+1)+1) \\ Charles R Greathouse IV, Feb 16 2015
(Magma) [(1+NthPrime(n))*(1+NthPrime(n+1)): n in [1..50]]; // Vincenzo Librandi, Feb 16 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas Kellar, Sep 12 2010
EXTENSIONS
More terms from Vincenzo Librandi, Feb 16 2015
Name simplified by Omar E. Pol, Dec 08 2019
STATUS
approved