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.

A193169 Number of odd divisors of lambda(n).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 1, 2, 3, 1, 2, 2, 2, 1, 2, 2, 3, 2, 2, 1, 4, 1, 2, 1, 2, 2, 3, 3, 2, 1, 2, 2, 4, 2, 2, 2, 2, 1, 4, 2, 1, 2, 2, 3, 2, 2, 3, 2, 2, 1, 4, 4, 2, 1, 2, 2, 4, 1, 2, 2, 4, 2, 3, 3, 2, 3, 4, 2, 4, 1
Offset: 1

Views

Author

Michel Lagneau, Jul 22 2011

Keywords

Comments

Lambda is the function in A002322.

Examples

			a(19) = 3 because lambda(19) = 18 and the 3 odd divisors are {1, 3, 9}.
		

Crossrefs

Programs

  • Haskell
    a193169 = length . filter odd . a027750_row . a002322
    -- Reinhard Zumkeller, Sep 02 2014
    
  • Mathematica
    f[n_] := Block[{d = Divisors[CarmichaelLambda[n]]}, Count[OddQ[d], True]]; Table[f[n], {n, 80}]
  • PARI
    a(n) = sumdiv(lcm(znstar(n)[2]), d, (d%2)); \\ Michel Marcus, Mar 18 2016

Formula

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