cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A191613 Number of even divisors of lambda(n).

Original entry on oeis.org

0, 0, 1, 1, 2, 1, 2, 1, 2, 2, 2, 1, 4, 2, 2, 2, 4, 2, 3, 2, 2, 2, 2, 1, 4, 4, 3, 2, 4, 2, 4, 3, 2, 4, 4, 2, 6, 3, 4, 2, 6, 2, 4, 2, 4, 2, 2, 2, 4, 4, 4, 4, 4, 3, 4, 2, 3, 4, 2, 2, 8, 4, 2, 4, 4, 2, 4, 4, 2, 4, 4, 2, 9, 6, 4, 3, 4, 4, 4, 2, 4, 6, 2, 2, 4, 4, 4, 2, 6, 4, 4, 2, 4, 2, 6, 3, 10, 4, 4, 4, 6, 4, 4, 4, 4
Offset: 1

Views

Author

Michel Lagneau, Jul 22 2011

Keywords

Comments

Lambda is the function in A002322.

Examples

			a(13) = 4 because lambda(13) = 12 and the 4 even divisors are { 2, 4, 6, 12}.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := Block[{d = Divisors[CarmichaelLambda[n]]}, Count[EvenQ[d], True]]; Table[f[n], {n, 80}]
    (* Second program: *)
    Array[DivisorSum[CarmichaelLambda@ #, 1 &, EvenQ] &, 105] (* Michael De Vlieger, Dec 04 2017 *)
  • PARI
    a(n) = sumdiv(lcm(znstar(n)[2]), d, 1-(d%2)); \\ Michel Marcus, Mar 18 2016

Formula

a(n) = A183063(A002322(n)). - Michel Marcus, Mar 18 2016

Extensions

More terms from Antti Karttunen, Dec 04 2017

A193388 Sum of even divisors of phi(n).

Original entry on oeis.org

0, 0, 2, 2, 6, 2, 8, 6, 8, 6, 12, 6, 24, 8, 14, 14, 30, 8, 26, 14, 24, 12, 24, 14, 36, 24, 26, 24, 48, 14, 48, 30, 36, 30, 56, 24, 78, 26, 56, 30, 84, 24, 64, 36, 56, 24, 48, 30, 64, 36, 62, 56, 84, 26, 84, 56, 78, 48, 60, 30, 144, 48, 78, 62, 120, 36, 96
Offset: 1

Views

Author

Michel Lagneau, Jul 25 2011

Keywords

Examples

			a(13) = 24 because phi(13) = 12 and the sum of the 4 even divisors { 2, 4, 6, 12} is 24.
		

Crossrefs

Programs

  • Mathematica
    Table[Total[Select[Divisors[EulerPhi[n]], EvenQ[ # ]&]], {n, 58}]
  • PARI
    A193388(n) = { my(s=eulerphi(n)); sumdiv(s,d,(!(d%2))*d); }; \\ Antti Karttunen, Dec 05 2017

Formula

a(n) = A146076(A000010(n)) = A062402(n) - A193454(n). - Antti Karttunen, Dec 05 2017
Showing 1-2 of 2 results.