Idoneal numbers: Difference between revisions

Content deleted Content added
Thundergnat (talk | contribs)
New draft task and Raku example
 
m Link to Wikipedia is singular
Line 1: Line 1:
{{draft task}}
{{draft task}}


'''[[wp:Idoneal_numbers|Idoneal numbers]]''' (also called '''suitable''' numbers or '''convenient''' numbers) are the positive integers '''D''' such that any integer expressible in only one way as '''x<sup>2</sup> ± Dy<sup>2</sup>''' (where '''x<sup>2</sup>''' is relatively prime to '''Dy<sup>2</sup>''') is a prime power or twice a prime power.
'''[[wp:Idoneal_number|Idoneal numbers]]''' (also called '''suitable''' numbers or '''convenient''' numbers) are the positive integers '''D''' such that any integer expressible in only one way as '''x<sup>2</sup> ± Dy<sup>2</sup>''' (where '''x<sup>2</sup>''' is relatively prime to '''Dy<sup>2</sup>''') is a prime power or twice a prime power.


A positive integer '''n''' is idoneal if and only if it cannot be written as '''ab + bc + ac''' for distinct positive integers '''a''', '''b''', and '''c''' with '''0 < a < b < c'''.
A positive integer '''n''' is idoneal if and only if it cannot be written as '''ab + bc + ac''' for distinct positive integers '''a''', '''b''', and '''c''' with '''0 < a < b < c'''.
Line 17: Line 17:


;See also
;See also
;* [[wp:Idoneal_numbers|Wikipedia: Idoneal numbers]]
;* [[wp:Idoneal_number|Wikipedia: Idoneal numbers]]
;* [[oeis:A000926|OEIS:A000926 - Euler's "numerus idoneus" (or "numeri idonei", or idoneal, or suitable, or convenient numbers)]]
;* [[oeis:A000926|OEIS:A000926 - Euler's "numerus idoneus" (or "numeri idonei", or idoneal, or suitable, or convenient numbers)]]