editing
approved
editing
approved
5, 15, 35, 55, 65, 75, 105, 155, 205, 215, 225, 275, 285, 295, 365, 405, 435, 475, 495, 555, 565, 595, 625, 665, 695, 735, 765, 825, 895, 945, 985, 1055, 1085, 1115, 1155, 1205, 1225, 1265, 1315, 1335, 1385, 1505, 1595, 1605, 1645, 1745, 1805, 1835, 1885, 1975, 2015, 2245, 2275, 2415, 2525
approved
editing
editing
approved
editing
proposed
Numbers n such that 3*n+2 and 3*n-2 are both prime for n= multiple of 5 (A008587).
5,1,1
For n=15; 3*15+2=47 and 3*15-2=43.
(TI-BASIC) Clrio:5(sto)n:Lbl colorin:if isPrime(3n+2) and isPrime(3n-2) Then:Disp n:Pause: EndIf:n+5(sto)n:Goto colorin:EndPrgm
EndIf:n+5(sto)n:Goto colorin:EndPrgm
TI-BASIC
nonn,less,changed
proposed
editing
editing
proposed
allocated for César Aguilera
Numbers n such that 3*n+2 and 3*n-2 are both prime for n= A008587
5, 15, 35, 55, 65, 75, 105, 155, 205, 215, 225, 275, 285, 295, 365, 405, 435, 475, 495, 555, 565, 595, 625, 665, 695, 735, 765, 825, 895, 945, 985, 1055, 1085, 1115, 1155, 1205, 1225, 1265, 1315, 1335, 1385, 1505, 1595, 1605, 1645, 1745, 1805, 1835, 1885, 1975, 2015, 2245, 2275, 2415, 2525
5,1
For n=15; 3*15+2=47 and 3*15-2=43
Clrio:5(sto)n:Lbl colorin:if isPrime(3n+2) and isPrime(3n-2) Then:Disp n:Pause:
EndIf:n+5(sto)n:Goto colorin:EndPrgm
TI-BASIC
allocated
nonn
César Aguilera, Dec 07 2013
approved
editing
allocated for César Aguilera
allocated
approved