OFFSET
1,3
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..10000
Indranil Ghosh, Braille Numerals
EXAMPLE
67 is in the sequence. 67, as evident from the link uploaded above, has 11 raised dots ("o") in its Braille representation and 11 is prime.
PROG
(Python)
from sympy import isprime
B=[3, 1, 2, 2, 3, 2, 3, 4, 3, 2]
def a(n):
s=0
for i in str(n):
s+=B[int(i)]
return s+4
i=0
j=1
while j<=10000:
if isprime(a(i))==True :
print str(j)+" "+str(i)
j+=1
i+=1
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Indranil Ghosh, Jan 13 2017
STATUS
approved