Prime triangle: Difference between revisions

m
(→‎{{header|J}}: more concise approach)
m (→‎{{header|J}}: grammar)
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 intermediate values between 1 and y.
 
Implementation:
6,962

edits