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.

A349261 a(n) is the least number k such that A349258(k) = A349258(k+1) = n.

Original entry on oeis.org

2, 14, 125, 135, 2079, 21735, 2730375, 916352, 5955200, 4122495, 444741759, 7391633535, 98228219264
Offset: 1

Views

Author

Amiram Eldar, Nov 12 2021

Keywords

Examples

			2 is a term since A349258(2) = A349258(3) = 1.
14 is a term since A349258(14) = A349258(15) = 2.
		

Crossrefs

Cf. A349258.
Similar sequences: A075036, A093548, A115186, A343818.

Programs

  • Mathematica
    f[p_, e_] := 2^DigitCount[e, 2, 1] - 1; c[1] = 0; c[n_] := Plus @@ f @@@ FactorInteger[n]; seq[len_, nmax_] := Module[{s = Table[0, {len}], k = 0, n = 1, i}, While[n < nmax && k < len, i = c[n]; If[c[n + 1] == i && i <= len && s[[i]] == 0, k++; s[[i]] = n]; n++]; TakeWhile[s, # > 0 &]]; seq[8, 3*10^6]