2D6 percentage dice

Sometime ago I found online a discussion about using D6 dice to simulate percentage dice. Unfortunately, I did not keep a link to the discussion. Anyway, I wanted to add my 2 cents and so here it is. You can use 2 D6 to compute a value over the 1 to 100 percentage range. The two dice, A and B, are treated as base 6 1st and 2nd place values. The range is 0 to 35, ie, ( A - 1 ) * 6 + ( B - 1 ), and so the percentage step is roughly 2.7%. This seems like enough granularity for most games using percentage dice. The lookup table is

123456
114791215
2182124262932
3353841434649
4525558606366
5697275778083
68689929497100
Source code.