A341676 The unique superior prime divisor of each number that has one.
2, 3, 2, 5, 3, 7, 3, 5, 11, 13, 7, 5, 17, 19, 5, 7, 11, 23, 5, 13, 7, 29, 31, 11, 17, 7, 37, 19, 13, 41, 7, 43, 11, 23, 47, 7, 17, 13, 53, 11, 19, 29, 59, 61, 31, 13, 11, 67, 17, 23, 71, 73, 37, 19, 11, 13, 79, 41, 83, 17, 43, 29, 11, 89, 13, 23, 31, 47, 19
Offset: 1
Keywords
Examples
The sequence of superior prime divisors begins: {}, {2}, {3}, {2}, {5}, {3}, {7}, {}, {3}, {5}, {11}, {}, {13}, {7}, {5}, {}, {17}, {}, {19}, {5}, ...
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
These divisors (superior prime) are counted by A341591.
The strictly superior version is A341643.
A033676 selects the greatest inferior divisor.
A033677 selects the smallest superior divisor.
A038548 counts superior (or inferior) divisors.
A056924 counts strictly superior (or strictly inferior) divisors.
A060775 selects the greatest strictly inferior divisor.
A070038 adds up superior divisors.
A140271 selects the smallest strictly superior divisor.
A161908 lists superior divisors.
A207375 lists central divisors.
Programs
-
Mathematica
Join@@Table[Select[Divisors[n],PrimeQ[#]&>=n/#&],{n,100}]
-
PARI
lista(nmax) = {my(p); for(n = 1, nmax, p = select(x -> (x^2 >= n), factor(n)[, 1]); if(#p == 1, print1(p[1], ", ")));} \\ Amiram Eldar, Nov 01 2024
Comments