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!)
A078558 GCD of sigma(p#) and phi(p#) where p# = A002110(n) is the product of the first n primes. 4
1, 2, 8, 48, 96, 1152, 9216, 1658880, 3317760, 92897280, 2786918400, 100329062400, 802632499200, 370816214630400, 741632429260800, 2966529717043200, 29665297170432000, 355983566045184000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = gcd(A000203(A002110(n)), A000005(A002110(n))) = gcd(A005867(n), A054640(n)).
EXAMPLE
m=2,3,30,210 primorials are balanced numbers so these GCD() equals phi(): a(n)=1,2,8,48 (see A005867).
MATHEMATICA
GCD[DivisorSigma[1, #], EulerPhi[#]]&/@FoldList[Times, Prime[Range[20]]] (* Harvey P. Dale, Feb 28 2016 *)
PROG
(PARI) a(n)=gcd(prod(i=1, n, prime(i)-1), prod(i=1, n, prime(i)+1)) \\ Charles R Greathouse IV, Dec 09 2013
CROSSREFS
Sequence in context: A358822 A003275 A253665 * A003032 A193944 A058928
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 06 2002
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)