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!)
A051272 Number of numbers neither relatively prime to nor divisors of primorial number(n). 2
0, 1, 15, 147, 1799, 24207, 418223, 8040555, 186596999, 5447822127, 169904385683, 6317118444315, 260105476063019, 11228680258501647, 529602053223466643, 28154196550210395195, 1665532558389396635999 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A045763(A002110(n)).
a(n) = primorial(n) - (phi(primorial(n)) + tau(primorial(n)) - 1). - Michael De Vlieger, Feb 04 2015
EXAMPLE
The 4th primorial (210) has 16 divisors and 48 coprimes, so a(4) = 210 - 64 + 1 = 147.
MATHEMATICA
# - (EulerPhi@ # + DivisorSigma[0, #] - 1) & /@ (Product[ Prime@ i, {i, 1, #}] & /@ Range@ 17) (* Michael De Vlieger, Feb 04 2015 *)
PROG
(PARI) a002110(n) = prod(i=1, n, prime(i));
a(n) = my(pr = a002110(n)); pr - numdiv(pr) - eulerphi(pr) + 1; \\ Michel Marcus, Feb 22 2015
CROSSREFS
Sequence in context: A245755 A240419 A069417 * A021414 A211847 A055431
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 April 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)