A353393 Positive integers m > 1 that are prime or whose prime shadow A181819(m) is a divisor of m that is already in the sequence.
2, 3, 5, 7, 9, 11, 13, 17, 19, 23, 29, 31, 36, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 125, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 225, 227, 229, 233, 239, 241, 251
Offset: 1
Keywords
Examples
The terms together with their prime indices begin: 2: {1} 3: {2} 5: {3} 7: {4} 9: {2,2} 11: {5} 13: {6} 17: {7} 19: {8} 23: {9} 29: {10} 31: {11} 36: {1,1,2,2}
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Crossrefs
The first term that is not a prime power A000961 is 36.
The first term that is not a prime or a perfect power A001597 is 1260. - Corrected by Robert Israel, Mar 10 2025
Removing all primes gives A353389.
These partitions are counted by A353426.
The version for compositions is A353431.
A003963 gives product of prime indices.
A325131 lists numbers relatively prime to their prime shadow.
Programs
-
Maple
pshadow:= proc(n) local F,i; F:= ifactors(n)[2]; mul(ithprime(i),i=F[..,2]) end proc: filter:= proc(n) local s; if isprime(n) then return true fi; s:= pshadow(n); n mod s = 0 and member(s,R) end proc: R:= {}: for i from 2 to 2000 do if filter(i) then R:= R union {i} fi od: sort(convert(R,list)); # Robert Israel, Mar 10 2025
-
Mathematica
red[n_]:=If[n==1,1,Times@@Prime/@Last/@FactorInteger[n]]; suQ[n_]:=PrimeQ[n]||Divisible[n,red[n]]&&suQ[red[n]]; Select[Range[2,200],suQ[#]&]
Comments