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.

A087133 Number of divisors of n that are not greater than the greatest prime-factor of n; a(1)=1.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Aug 17 2003

Keywords

Comments

For n > 1, a(n) is the index of the greatest prime factor of n among the divisors of n (see A027750). - Michel Marcus, Jan 21 2019

Examples

			n=28: gpf(28)=7 and divisors = {1,2,4,7,14,28}: 1<=7, 2<=7, 4<=7 and 7<=7, therefore a(28)=4.
		

Crossrefs

Programs

Formula

a(n) <= A000005(n), a(n)=A000005(n) iff n is prime or n=1;
a(n)=2 iff n > 1 is a prime power (A000961);
a(A087134(n))=n and a(k) < n for k < A087134(n).