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.

A317717 Uniform relatively prime tree numbers. Matula-Goebel numbers of uniform relatively prime rooted trees.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 13, 14, 15, 16, 17, 19, 22, 26, 29, 30, 31, 32, 33, 34, 35, 36, 38, 41, 42, 43, 47, 51, 53, 55, 58, 59, 62, 64, 66, 67, 70, 77, 78, 79, 82, 85, 86, 93, 94, 95, 100, 101, 102, 105, 106, 109, 110, 113, 114, 118, 119, 123, 127, 128
Offset: 1

Views

Author

Gus Wiseman, Aug 05 2018

Keywords

Comments

A positive integer n is a uniform relatively prime tree number iff either n = 1 or n is a prime number whose prime index is a uniform relatively prime tree number, or n is a power of a squarefree number whose prime indices are relatively prime and are themselves uniform relatively prime tree numbers. A prime index of n is a number m such that prime(m) divides n.

Crossrefs

Programs

  • Mathematica
    rupQ[n_]:=Or[n==1,If[PrimeQ[n],rupQ[PrimePi[n]],And[SameQ@@FactorInteger[n][[All,2]],GCD@@PrimePi/@FactorInteger[n][[All,1]]==1,And@@rupQ/@PrimePi/@FactorInteger[n][[All,1]]]]];
    Select[Range[200],rupQ]