Yellowstone sequence: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
 
Line 838:
num = 4
while len yellow[] < count
yell1 = yellow[len yellow[] - 1]
yell2 = yellow[len yellow[]]
for i to len notyellow[]
test = notyellow[i]
if gcd yellow[-2]yell1 test > 1 and gcd yellow[-1]yell2 test = 1
break 1
.
Line 848 ⟶ 850:
remove_at i notyellow[]
else
while gcd yellow[-2]yell1 num <= 1 or gcd yellow[-1]yell2 num <> 1
notyellow[] &= num
num += 1
2,017

edits