login
A090080
In binary expansion of n-th prime: reduce contiguous blocks of 0's to 0 and contiguous blocks of 1's to 1.
1
2, 1, 5, 1, 5, 5, 5, 5, 5, 5, 1, 21, 21, 21, 5, 21, 5, 5, 5, 5, 21, 5, 21, 21, 5, 21, 5, 21, 21, 5, 1, 5, 21, 21, 85, 21, 21, 21, 21, 85, 21, 85, 5, 5, 21, 5, 21, 5, 5, 21, 21, 5, 5, 5, 5, 5, 21, 5, 85, 21, 21, 85, 21, 21, 21, 21, 85, 85, 85, 85, 21, 21, 21, 85, 21, 5, 21, 21, 21
OFFSET
1,1
COMMENTS
a(n) = A090079(A000040(n)).
EXAMPLE
A000040(25)=97 -> '1100001' -> [11][0000][1] -> [1][0][1] ->
'101' -> 5=a(25).
CROSSREFS
Cf. A004676.
Sequence in context: A369741 A014652 A060448 * A151737 A211361 A347464
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Nov 20 2003
STATUS
approved