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.

A069903 Number of distinct prime factors of n-th triangular number.

Original entry on oeis.org

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

Views

Author

Reinhard Zumkeller, Apr 10 2002

Keywords

Examples

			A000217(11) = 11*(11+1)/2 = 66 = 2*3*11, therefore a(11) = 3.
		

Crossrefs

Programs

Formula

a(n) = A001221(A000217(n)).
Sum_{k=1..n} a(k) = 2 * n * (log(log(n)) + B - 1/4) + O(n/log(n)), where B is Mertens's constant (A077761). - Amiram Eldar, Sep 21 2024