Prime triangle: Difference between revisions

m
→‎{{header|J}}: correctness
m (→‎{{header|J}}: grammar)
m (→‎{{header|J}}: correctness)
Line 599:
=={{header|J}}==
 
Essentially, we're traversing a directed graph starting at 1, ending at y, with edges such that adjacent pairs sum to a prime number and with distinct intermediate values between 1 and y.
 
Implementation:
6,951

edits