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.

A100387 a(n) is the largest number x such that for m=n to n+x-1, A006530(m) decreases.

Original entry on oeis.org

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

Views

Author

Labos Elemer, Dec 10 2004

Keywords

Comments

A006530(m) is the largest prime factor of m.

Examples

			a(13)=4 because the largest prime factors of 13,14,15,16 are 13,7,5,2; but A006530(17)=17.
		

Crossrefs

Programs

  • Mathematica
    <
    				

Formula

From Pontus von Brömssen, Nov 09 2022: (Start)
a(n) = 1 if and only if n >= 2 and n is a term of A070089.
If a(n) > 1 then a(n) = a(n+1)+1.
(End)

Extensions

Edited by Don Reble, Jun 13 2007