OFFSET
1,2
COMMENTS
for n>1: a(n) = n iff n is prime.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
n=12 -> '1100' contains 2 binary substrings which are primes: '11' (11bb) and '10' (b11b); 3='11' is the greater one, therefore a(12)=3.
PROG
(Haskell)
a078833 = last . a225243_row -- Reinhard Zumkeller, Aug 14 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Dec 08 2002
STATUS
approved