Pernicious numbers: Difference between revisions

Content added Content deleted
m (→‎{{header|11l}}: popcount())
m (→‎{{header|11l}}: bits:popcount())
Line 33: Line 33:
V cnt = 0
V cnt = 0
L
L
I is_prime(i.popcount())
I is_prime(bits:popcount(i))
print(i, end' ‘ ’)
print(i, end' ‘ ’)
cnt++
cnt++
Line 42: Line 42:
print()
print()
L(i) 888888877..888888888
L(i) 888888877..888888888
I is_prime(i.popcount())
I is_prime(bits:popcount(i))
print(i, end' ‘ ’)</syntaxhighlight>
print(i, end' ‘ ’)</syntaxhighlight>