Anaprimes: Difference between revisions
Content deleted Content added
→{{header|Wren}}: Tweak. |
→{{header|Go}}: Tweak. |
||
Line 141:
const maxIndex = 9
primes := rcu.Primes(limit)
anaprimes := make(map[int][]int)
for _, p := range primes {
Line 147 ⟶ 146:
key := 1
for _, dig := range digs {
key *=
}
if _, ok := anaprimes[key]; ok {
|