login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079405 Number of dots in primes in Braille. 1
2, 2, 2, 4, 2, 3, 5, 3, 4, 4, 3, 6, 4, 5, 7, 4, 4, 4, 7, 5, 6, 6, 5, 5, 6, 5, 6, 8, 6, 4, 7, 4, 7, 5, 6, 4, 7, 6, 8, 7, 7, 5, 4, 5, 7, 5, 4, 6, 8, 6, 6, 6, 6, 5, 8, 7, 7, 7, 10, 6, 7, 6, 9, 4, 5, 7, 5, 8, 9, 7, 6, 6, 9, 8, 8, 7, 7, 8, 7, 8, 6, 6, 6, 7, 7, 8, 8, 9, 7, 8, 10, 9, 10, 6, 7, 7, 7, 5, 6, 6, 9, 8, 7, 7 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A181019 A066761 A108920 * A332347 A201353 A072048
KEYWORD
nonn
AUTHOR
Jon Perry, Feb 16 2003
EXTENSIONS
Corrected and extended by Sean A. Irvine, Feb 04 2010
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 03:26 EDT 2024. Contains 371782 sequences. (Running on oeis4.)