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.

A069733 Number of divisors d of n such that d or n/d is odd. Number of non-orientable coverings of the Klein bottle with n lists.

Original entry on oeis.org

1, 2, 2, 2, 2, 4, 2, 2, 3, 4, 2, 4, 2, 4, 4, 2, 2, 6, 2, 4, 4, 4, 2, 4, 3, 4, 4, 4, 2, 8, 2, 2, 4, 4, 4, 6, 2, 4, 4, 4, 2, 8, 2, 4, 6, 4, 2, 4, 3, 6, 4, 4, 2, 8, 4, 4, 4, 4, 2, 8, 2, 4, 6, 2, 4, 8, 2, 4, 4, 8, 2, 6, 2, 4, 6, 4, 4, 8, 2, 4, 5, 4, 2, 8, 4, 4, 4, 4, 2, 12, 4, 4, 4, 4, 4, 4, 2, 6, 6, 6, 2, 8, 2, 4
Offset: 1

Views

Author

Valery A. Liskovets, Apr 07 2002

Keywords

Comments

Also number of divisors of n that are not divisible by 4. - Vladeta Jovovic, Dec 16 2002

Crossrefs

Programs

Formula

Multiplicative with a(2^e)=2 and a(p^e)=e+1 for e>0 and an odd prime p.
a(n) = d(n)-d(n/4) for 4|n and =d(n) otherwise where d(n) is the number of divisors of n (A000005).
G.f.: Sum_{m>0} x^m*(1+x^m+x^(2*m))/(1-x^(4*m)). - Vladeta Jovovic, Oct 21 2002
From Amiram Eldar, Dec 05 2022: (Start)
Dirichlet g.f.: zeta(s)^2*(1 - 1/4^s).
Sum_{k=1..n} a(k) ~ (3 * n * log(n) + (6*gamma + 2*log(2) - 3)*n)/4, where gamma is Euler's constant (A001620). [Corrected by Andrey Zabolotskiy, Apr 20 2025] (End)
a(n) = A000005(A259445(n)). - David A. Corneth, Aug 28 2023

A287957 Table read by antidiagonals: T(n, k) = greatest common recursive divisor of n and k; n > 0 and k > 0.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 4, 1, 2, 1, 1, 1, 3, 1, 1, 3, 1, 1, 1, 2, 1, 2, 5, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 7, 2, 1
Offset: 1

Views

Author

Rémy Sigrist, Jun 03 2017

Keywords

Comments

We use the definition of recursive divisor given in A282446.
More informally, the prime tower factorization of T(n, k) is the intersection of the prime tower factorizations of n and k (the prime tower factorization of a number is defined in A182318).
This sequence has connections with the classical GCD (A003989).
For any i > 0, j > 0 and k > 0:
- T(i, j) = 1 iff gcd(i, j) = 1,
- A007947(T(i, j)) = A007947(gcd(i, j)),
- T(i, j) >= 1,
- T(i, j) <= min(i, j),
- T(i, j) <= gcd(i, j),
- T(i, 1) = 1,
- T(i, i) = i,
- T(i, j) = T(j, i) (the sequence is commutative),
- T(i, T(j, k)) = T(T(i, j), k) (the sequence is associative),
- T(i, i*j) <= i,
- if gcd(i, j) = 1 then T(i*j, k) = T(i, k) * T(j, k) (the sequence is multiplicative),
- T(i, 2*i) = A259445(i).
See also A287958 for the LCM equivalent.

Examples

			Table starts:
n\k|    1   2   3   4   5   6   7   8   9   10
---+-----------------------------------------------
1  |    1   1   1   1   1   1   1   1   1    1  ...
2  |    1   2   1   2   1   2   1   2   1    2  ...
3  |    1   1   3   1   1   3   1   1   3    1  ...
4  |    1   2   1   4   1   2   1   2   1    2  ...
5  |    1   1   1   1   5   1   1   1   1    5  ...
6  |    1   2   3   2   1   6   1   2   3    2  ...
7  |    1   1   1   1   1   1   7   1   1    1  ...
8  |    1   2   1   2   1   2   1   8   1    2  ...
9  |    1   1   3   1   1   3   1   1   9    1  ...
10 |    1   2   1   2   5   2   1   2   1   10  ...
...
T(4, 8) = T(2^2, 2^3) = 2.
		

Crossrefs

Programs

  • PARI
    T(n,k) = my (g=factor(gcd(n,k))); return (prod(i=1, #g~, g[i,1]^T(valuation(n, g[i,1]), valuation(k, g[i,1]))))
Showing 1-2 of 2 results.