#include <stdio.h>

int main() {
    int A=0;
    int a=0;
    int R[] = {2,3,5,7,11};
    int L[] = {2,3,5,7,11};
    Deco:
    if (A < 13*13) {
        goto RTRN;
    }
    goto end;
    RTRN:
    L[0] = A % R[0];
    L[1] = A % R[1];
    L[2] = A % R[2];
    L[3] = A % R[3];
    L[4] = A % R[4];
    printf("%d",A);
    if (A == 1
        || (L[0] == 0 && A != R[0])
        || (L[1] == 0 && A != R[1]) 
        || (L[2] == 0 && A != R[2]) 
        || (L[3] == 0 && A != R[3])
        || (L[4] == 0 && A != R[4])) {
        puts("→×");
        A++;
    } else {
        puts("→o");
        A++;
    }
    goto Deco;
    end:
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: