OFFSET
1,3
LINKS
J. Mulder, Table of n, a(n) for n = 1..90409
EXAMPLE
a(1)=1(0=nonprime(1) written in base 2 and 10); a(2)=1(1=nonprime(2) written in base 2 and 10); a(3)=3(100=nonprime(3) written in base 2 where 4=nonprime(3) written in base 10).
MAPLE
MATHEMATICA
Prepend[Flatten@ Array[If[PrimeQ[ # ], {}, IntegerLength[ #, 2]] &, 100000], 1] (* Jasper Mulder (jasper.mulder(AT)planet.nl), Jun 03 2010 *)
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Juri-Stepan Gerasimov, Jul 26 2009
EXTENSIONS
Edited by Charles R Greathouse IV, Mar 22 2010
STATUS
approved