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.

Showing 1-1 of 1 results.

A370372 Row lengths of A369276.

Original entry on oeis.org

2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
Offset: 1

Views

Author

Michael De Vlieger, Mar 24 2024

Keywords

Comments

Also 1 more than the number of consecutive 1s in the n-th occasion of a run of 1s in A358089.

Examples

			Define quality Q to signify a number neither squarefree nor prime power. For example, 12 has quality Q but smaller numbers do not.
The smallest number k with quality Q such that either (k-1) or (k+1) (or both) share quality Q is 44.
Since both {44, 45} have quality Q, but 43 and 46 are squarefree, a(1) = 2.
Since both {75, 76} have quality Q, but 74 and 78 are squarefree, a(2) = 2.
Since all of {98, 99, 100} have quality Q but 97 and 101 are prime, a(3) = 3, etc.
		

Crossrefs

Programs

  • Mathematica
    1 + Map[Length, SplitBy[Differences@ Select[Range[1000], Nor[PrimePowerQ[#], SquareFreeQ[#]] &], # == 1 &]][[2 ;; -1 ;; 2]]
Showing 1-1 of 1 results.