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.

A362041 a(0) = 1; for n > 0, a(n) is the largest k < A013929(n) such that rad(k) = rad(A013929(n)), where rad(n) = A007947(n).

Original entry on oeis.org

1, 2, 4, 3, 6, 8, 12, 10, 18, 5, 9, 14, 16, 24, 20, 22, 15, 36, 7, 40, 26, 48, 28, 30, 21, 32, 34, 54, 45, 38, 50, 27, 42, 44, 60, 46, 72, 56, 33, 80, 52, 96, 98, 58, 39, 90, 11, 62, 25, 84, 64, 66, 75, 68, 70, 108, 63, 74, 120, 76, 51, 78, 100, 144, 82, 126, 13, 57, 86, 35, 88, 150, 92, 94, 147, 162
Offset: 0

Views

Author

Michael De Vlieger, May 01 2023

Keywords

Comments

Permutation of natural numbers.
Let m = A013929(n) and let R_m be the sequence of numbers k such that rad(k) = rad(m). a(n) gives the predecessor of m in R_m.

Examples

			A013929(1) = 4; the smallest k < 4 such that rad(k) = rad(4) = 2 is a(1) = 2.
A013929(2) = 8; the smallest k < 8 such that rad(k) = rad(8) = 2 is a(2) = 4.
A013929(3) = 9; the smallest k < 9 such that rad(k) = rad(9) = 3 is a(3) = 3.
A013929(4) = 12; the smallest k < 12 such that rad(k) = 6 is a(4) = 6.
		

Crossrefs

Programs

  • Mathematica
    rad[x_] := Times @@ FactorInteger[x][[All, 1]]; {1}~Join~Table[Function[r, SelectFirst[Range[m - 1, 1, -1], r == rad[#] &] ][rad[m]], {m, Select[Range[225], Not @* SquareFreeQ]}]

Formula

A013929(n) = p^e, a prime power, e > 0, implies a(n) = p^(e-1).
A013929(n) = p^2 implies a(n) = p.