my answer
labels 0:s0,s2; 1:s1,s2; 2:s1,s3; 3:s0,s1,s3; 4:s0,s1,s2,s3; 5:s4; 6:;
unsafe 6;
init 0;
transitions (0,{a},,5); (0,{},,1); (1,{a},,5); (1,{},,2); (2,{a},,5);(2,{},,3);(3,{a},,5);(3,{},,4);(4,{a},,5);(4,{},,4);(5,{a},,6);(5,{},,6);(6,{a},,6);(6,{},,6);
accept 1,2,3,4;
is wrong can some one explain?