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.

A361561 Number of even middle divisors of n, where "middle divisor" means a divisor in the half-open interval [sqrt(n/2), sqrt(n*2)).

Original entry on oeis.org

0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 1, 0
Offset: 1

Views

Author

Omar E. Pol, Mar 15 2023

Keywords

Comments

Number of even divisors of n in the half-open interval [sqrt(n/2), sqrt(n*2)).
Also number of even numbers in the n-th row of A299761.

Examples

			For n = 18 the middle divisor of 18 is [3]. There are no even middle divisors of 18 so a(18) = 0.
For n = 20 the middle divisors of 20 are [4, 5]. There is only one even middle divisor of 20 so a(20) = 1.
For n = 24 the middle divisors of 24 are [4, 6]. There are two even middle divisors of 24 so a(24) = 2.
		

Crossrefs

Programs

Formula

a(n) = A067742(n) - A358434(n).