OFFSET
0,1
MATHEMATICA
(*a-> Prime[4]to Prime[12 modulo 15 as the reference sequence*)
a = {7, 11, 13, 2, 4, 8, 14, 1};
(* finds permutations of the reference sequence to match the actual primes*)
M = Table[Table[If[Mod[Prime[i + n], 15] - a[[m]] == 0, 1, 0], {n, 1, 8}, {m, 1, 8}], {i, 4, 68, 8}];
v[0] = a;
v[n_] := v[n] = M[[1 + Mod[n, 8]]].v[n - 1]
a0 = Flatten[Table[v[n][[m]], {n, 0, 8}, {m, 1, 8}]]
CROSSREFS
KEYWORD
nonn,uned,obsc,less
AUTHOR
Roger L. Bagula, Apr 06 2006
STATUS
approved