login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074831 Number of binary reversal primes less than 10^n. 0
3, 20, 101, 508, 3053, 20053, 141772, 1045600, 8038954 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

MathPages counts 1 as being a binary reversal prime whereas the title would exclude it, therefore their count exceeds this count by one.

LINKS

MathPages, Reflective and Cyclic Sets of Primes

MATHEMATICA

f[n_] := FromDigits[Reverse[IntegerDigits[n, 2]], 2]; NextPrim[n_] := Block[{k = n + 1}, While[ ! PrimeQ[k], k++ ]; k]; c = 0; k = 1; Do[ While[k = NextPrim[k]; k < 10^n, If[ PrimeQ[ f[k]], c++ ]]; k--; Print[c], {n, 16}]

CROSSREFS

Sequence in context: A015529 A000948 A165960 * A203357 A000917 A025535

Adjacent sequences:  A074828 A074829 A074830 * A074832 A074833 A074834

KEYWORD

base,hard,more,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 09 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 03:03 EST 2012. Contains 205567 sequences.