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.

A179952 Add 1 to all the divisors of n. a(n) = number of perfect squares in the set.

Original entry on oeis.org

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

Views

Author

Jeff Burch, Aug 03 2010

Keywords

Comments

Number of k>=2 such that both k-1 and k+1 divide n. - Joerg Arndt, Jan 06 2015

Examples

			a(24)=3 because the divisors of 24 are 1,2,3,4,6,8,12,24. Adding one to each gives 2,3,4,5,7,9,13,25 and of those 4,9 and 25 are perfect squares.
		

Programs

Formula

G.f.: Sum_{n>=2} x^(n^2-1) / (1 - x^(n^2-1)). - Joerg Arndt, Jan 06 2015
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 3/4. - Amiram Eldar, Jan 19 2024