login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A008329 Number of divisors of p+1, p prime. 13
2, 3, 4, 4, 6, 4, 6, 6, 8, 8, 6, 4, 8, 6, 10, 8, 12, 4, 6, 12, 4, 10, 12, 12, 6, 8, 8, 12, 8, 8, 8, 12, 8, 12, 12, 8, 4, 6, 16, 8, 18, 8, 14, 4, 12, 12, 6, 12, 12, 8, 12, 20, 6, 18, 8, 16, 16, 10, 4, 8, 6, 12, 12, 16, 4, 8, 6, 6, 12, 12, 8, 24, 10, 8, 12, 16, 16, 4, 8, 8, 24, 4, 20, 8, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..2000

FORMULA

a(n) = A000005(A008864(n)). - Sean A. Irvine, Mar 25 2018

MAPLE

for i from 1 to 500 do if isprime(i) then print(tau(i+1)); fi; od;

A008329 := proc(n)

        numtheory[tau](ithprime(n)+1) ;

end proc: # R. J. Mathar, Oct 30 2015

MATHEMATICA

DivisorSigma[0, #]&/@(Prime[Range[100]]+1)  (* Harvey P. Dale, Apr 12 2011 *)

PROG

(PARI) a(n) = numdiv(prime(n)+1); \\ Michel Marcus, Mar 25 2018

(MAGMA) [NumberOfDivisors(NthPrime(n)+1): n in [1..100]]; // Vincenzo Librandi, Mar 25 2018

CROSSREFS

Cf. A000005, A008864.

Sequence in context: A036805 A036804 A180046 * A064558 A178031 A008328

Adjacent sequences:  A008326 A008327 A008328 * A008330 A008331 A008332

KEYWORD

nonn

AUTHOR

N. J. A. Sloane

EXTENSIONS

Offset corrected by Leroy Quet, Oct 08 2008

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 18 21:23 EDT 2018. Contains 312765 sequences. (Running on oeis4.)