login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A064795
Home primes in base 2: primes reached when you start with n and (working in base 2) concatenate its prime factors (A048985); repeat until a prime is reached (or -1 if no prime is ever reached).
0
1, 10, 11, 11111, 101, 1011, 111, 10110011, 11101, 11111, 1011, 101011, 1101, 10111, 11101, 10111011100111, 10001, 101111, 10011, 11111011, 11111, 101011, 10111, 111110011, 111111111011, 111111111011, 1111111, 111111111011, 11101
OFFSET
1,2
COMMENTS
a(1) = 1 by convention.
CROSSREFS
See A048986 for base 10 representation. Cf. A037274.
Sequence in context: A279598 A280138 A287875 * A273463 A283430 A278856
KEYWORD
nonn,base,easy
AUTHOR
N. J. A. Sloane, Oct 31 2001
EXTENSIONS
More terms from David Wasserman, Aug 15 2002
STATUS
approved