login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A360694 Numbers whose divisors can be partitioned into two disjoint sets where the sum of both sets is prime. 1
4, 6, 8, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 26, 27, 28, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 44, 45, 48, 52, 54, 55, 56, 57, 58, 60, 63, 65, 66, 68, 69, 70, 72, 75, 76, 77, 78, 80, 82, 84, 85, 86, 88, 90, 92, 93, 94, 95, 96, 99, 102, 104, 105, 106, 108, 110, 111, 112, 114, 115 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The concept of this sequence is similar to the concept of Zumkeller numbers (A083207) partitioning the sums of the divisors (A000203) into two sets.
This concept can be extended, since the sums of some numbers' divisors can be partitioned into more sets, e.g., 6 (2,3,7) and 10 (2,5,11) into three.
Some numbers can be divided more than one way. For 10, there are two divisons: (5,13) and (7,11) and for 20, there are four: (5,37), (11,31), (13,29) and (19,23).
From Robert Israel, Feb 21 2023: (Start)
Contains no primes.
k in A028982 is in the sequence iff k is even and A000203(k)-2 is prime.
(End)
REFERENCES
Song Y. Yan, Perfect, Amicable and Sociable Numbers, World Scientific Pub Co Inc., 1996, p. 11, p. 22.
LINKS
Yuejian Peng and K. P. S. Bhaskara Rao, On Zumkeller numbers, Journal of Number Theory, Volume 133, Issue 4, April 2013, pp. 1135-1155
Eric Weisstein's World of Mathematics, Perfect Number.
Eric Weisstein's World of Mathematics, Prime.
EXAMPLE
4 belongs to the sequence, since its divisors can be partitioned into two sets where the sums of these sets are primes (2,5). 9 does not belong to the sequence, because its divisors cannot be partitioned in this way.
MAPLE
filter:= proc(n) local P, p, S, s;
S:= numtheory:-divisors(n); s:= convert(S, `+`);
P:= combinat:-subsets(S minus {n});
while not P[finished] do
p:= convert(P[nextvalue](), `+`);
if isprime(p) and isprime(s-p) then return true fi
od;
false
end proc:
select(filter, [$1..200]); # Robert Israel, Feb 21 2023
MATHEMATICA
q[n_] := Module[{d = Divisors[n], s, p}, s = Total[d]; p = Position[Rest @ CoefficientList[Product[1 + x^i, {i, d}], x], _?(# > 0 &)] // Flatten; AnyTrue[p, PrimeQ[#] && PrimeQ[s - #] &]]; Select[Range[100], q] (* Amiram Eldar, Feb 18 2023 *)
CROSSREFS
Sequence in context: A228358 A134331 A276040 * A090334 A272601 A322368
KEYWORD
nonn
AUTHOR
Zoltan Galantai, Feb 17 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)