Pell numbers: Difference between revisions

m
clarify
(New draft task and Raku example)
 
m (clarify)
Line 63:
 
 
'''Pell numbers''' may also be used to find Pythagorean triple '''near isosceles right triangles'''; right triangles whose legs differ by exactly '''1'''. E.G.: '''(3,4,5), (20,21,29), (119,120,169), etc.'''
 
For '''n > 0''', each right triangle hypotenuse is '''P<sub>2n + 1</sub>'''. The shorter leg length is the sum of the termterms ''up to'' '''P<sub>2n + 1</sub>'''. The longer leg length is '''1''' more than that.
 
 
Line 76:
;* Find and show at least the first 10 indices of '''Pell primes'''.
;* Find and show at least the first 10 '''Newman-Shank-Williams numbers'''
;* Find and show at least the first 10 Pythagorean triples corresponding to '''near isosceles right triangles'''.
 
 
10,327

edits