OFFSET
0,1
LINKS
American Foundation for the Blind, Braille Bug
EXAMPLE
The 5th prime is 11, hence a(11)=1+1=2
PROG
(PARI) { braille=[3, 1, 2, 2, 3, 2, 3, 4, 3, 2]; forprime (n=2, 300, b=braille[n%10+1]; n2=n; if (n>99, b=b+braille[n\100+1]; n2=n%100); if (n2>9, b=b+braille[n2\10+1]); print1(b", ")) }
(PARI) { braille=[3, 1, 2, 2, 3, 2, 3, 4, 3, 2]; forprime (n=2, 300, n2=n; b=0; while (n2>0, b=b+braille[n2%10+1]; n2=n2\10); print1(b", ")) } \\ Sean A. Irvine, Feb 04 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon Perry, Feb 16 2003
EXTENSIONS
Corrected and extended by Sean A. Irvine, Feb 04 2010
STATUS
approved