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.

A340305 Numbers k such that k and the least number that is larger than k and has the same set of distinct prime divisors as k also has the same prime signature as k.

Original entry on oeis.org

12, 45, 60, 63, 84, 132, 156, 175, 204, 228, 275, 276, 315, 325, 348, 350, 372, 420, 425, 444, 475, 492, 495, 516, 525, 539, 540, 564, 575, 585, 636, 637, 660, 675, 693, 700, 708, 732, 765, 780, 804, 819, 833, 852, 855, 876, 924, 931, 948, 996, 1020, 1035, 1068
Offset: 1

Views

Author

Amiram Eldar, Jan 03 2021

Keywords

Comments

Numbers k such that k and A065642(k) have the same prime signature (A118914).

Examples

			12 is a term since the least number that is larger than 12 and has the same set of distinct prime divisors as 12, {2, 3}, is 18 = 2 * 3^2 which also has the same prime signature as 12.
		

Crossrefs

Subsequence: A251720.

Programs

  • Mathematica
    rad[n_] := Times @@ FactorInteger[n][[;; , 1]]; next[n_] := Module[{r = rad[n]}, SelectFirst[Range[n + 1, n^2], rad[#] == r &]]; sig[n_] := Sort @ FactorInteger[n][[;; , 2]]; Select[Range[2, 300], sig[#] == sig[next[#]] &]