+0  
 
 #1
avatar
+1

a=1; b=0;c=gcd(6*a+1, 6*a+2, 6*a+3, 6*a+b); if(c==1, goto4, goto5);printc, a, b; a++;if(a<100, goto2, 0);a=1;b++;if(b<100, goto2, discard=0;

 

OUTPUT: It works for all k from k = 0 to infinity. So, the "smallest k = 0".

 Apr 19, 2020
 #2
avatar
0

Which is a positive integer ?

Guest Apr 19, 2020
 #3
avatar
0

Sorry, I didn't notice that! Then the "smallest positive integer is k = 1"

Guest Apr 19, 2020
 #4
avatar+194 
0

Uh, I don't know what happened, but it wasn't correct. No worries, thanks for trying! Have a good day :)

somehelpplease  Apr 24, 2020

1 Online Users

avatar