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.

A293781 First differences of A293780.

Original entry on oeis.org

3, 4, 8, 16, 16, 6, 18, 24, 12, 36, 18, 30, 24, 72, 36, 60, 48, 54, 90, 72, 120, 96, 108, 180, 144, 162, 78, 192, 216, 360, 288, 288, 120, 240, 360, 150, 90, 210, 270, 180, 300, 60, 540, 360, 240, 480, 270, 450, 90, 210, 180, 420, 540, 360, 600, 120, 1080, 450, 270
Offset: 1

Views

Author

David A. Corneth, Oct 19 2017

Keywords

Examples

			a(1) = A293780(2) - A293780(1) = 4 - 1 = 3.
		

Crossrefs

Programs

  • Mathematica
    Block[{s = {1}~Join~Array[Times @@ FactorInteger[#][[All, 1]] &, 10^4, 2], t}, t = 1 + Array[Count[Take[s, # - 1], s[[#]]] &, Length@ s]; Differences@ Map[FirstPosition[t, #][[1]] &, Union@ FoldList[Max, t]]] (* Michael De Vlieger, Oct 30 2017 *)
  • PARI
    lista(nn) = {nbm = 0; lastn = 0; v = vector(nn, k, factor(k)[, 1]); for (n=1, nn, vn = vector(n, k, v[k]); nbn = #select(x->(x==v[n]), vn); if (nbn > nbm, if (nbm, print1(n-lastn, ", ")); nbm = nbn; lastn = n;););} \\ Michel Marcus, Oct 31 2017
Showing 1-1 of 1 results.