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.

A125238 Differences between consecutive deficient numbers.

Original entry on oeis.org

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

Views

Author

Jason G. Wurtzel, Nov 25 2006

Keywords

Comments

The first 3 occurs at n=4340. - R. J. Mathar, Jul 08 2015

Examples

			a(1) = 1 because 2-1 = 1.
a(5) = 2 because 7-5 = 2.
		

Crossrefs

Programs

Formula

a(n) = A005100(n+1) - A005100(n).
Asymptotic mean: lim_{n->oo} (1/n) Sum_{k=1..n} a(k) = 1/A318172 = 1.3291... - Amiram Eldar, Oct 21 2020