Talk:Equal prime and composite sums: Difference between revisions

Content added Content deleted
(Created page with "== 1 == Currently, some task implementations indicate 5 is a composite sum. However, the task description indicates that 4 is the first composite number. So composite, for t...")
 
Line 4: Line 4:


So composite, for this task, probably does not mean "positive integer which is not prime" but instead presumably means "number which is a product of two or more primes". --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 16:13, 5 March 2022 (UTC)
So composite, for this task, probably does not mean "positive integer which is not prime" but instead presumably means "number which is a product of two or more primes". --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 16:13, 5 March 2022 (UTC)

:No entries claim 5 is a composite sum as far as I can see.
:The F# and Julia entries I assume you are referring to are actually stating that 2+3+'''5''' (3 primes) = 4+'''6''' (2 composites) = 10, and were it me I might replace
Primes up to 5 at position 3 and composites up to 6 at position 2 sum to 10.
:with (same info and same meaning)
The first 3 primes up to 5 and the first 2 composites up to 6 both sum to 10.
:However the J output (10 2 1) implies 10 is the ''second'' element of P and ''first'' element of C but/or is presumably printing those as zero-based indexes, which is likely the source of confusion? --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 18:44, 5 March 2022 (UTC)