Re my last snippet if we use two loops we get some interesting results.
For example:
With 3 followed by 5 we get 0,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8, ..., 248,248,248,248,248,248,248,248
With 3 followed by 9 we get 0,0,0,0,4,4,4,4, ..., 252,252,252,252
With 3 followed by 7 we get 0,0,2,2, ..., 254,254
as we do with 5 followed by 9 and 3 followed by 3.
There is a theorem lurking about here.
Gleason's theorem sounds good to me except it hasn't been formalized yet.
For example:
Code:
For i = 0 To 255 a(i) += p p += [COLOR="Red"]3[/COLOR] ' Any prime number except 2 Next For i = 0 To 255 a(i) += p p += [COLOR="Red"]5[/COLOR] ' Any prime number except 2 Next
With 3 followed by 9 we get 0,0,0,0,4,4,4,4, ..., 252,252,252,252
With 3 followed by 7 we get 0,0,2,2, ..., 254,254
as we do with 5 followed by 9 and 3 followed by 3.
There is a theorem lurking about here.
Gleason's theorem sounds good to me except it hasn't been formalized yet.

Comment