A057334 In A000120, replace each entry k with the k-th prime and replace 0 with 1.
1, 2, 2, 3, 2, 3, 3, 5, 2, 3, 3, 5, 3, 5, 5, 7, 2, 3, 3, 5, 3, 5, 5, 7, 3, 5, 5, 7, 5, 7, 7, 11, 2, 3, 3, 5, 3, 5, 5, 7, 3, 5, 5, 7, 5, 7, 7, 11, 3, 5, 5, 7, 5, 7, 7, 11, 5, 7, 7, 11, 7, 11, 11, 13, 2, 3, 3, 5, 3, 5, 5, 7, 3, 5, 5, 7, 5, 7, 7, 11, 3, 5, 5, 7
Offset: 0
Links
- Michael Gilleland, Some Self-Similar Integer Sequences
Programs
-
PARI
a(n) = if (n==0, 1, prime(hammingweight(n))); \\ Michel Marcus, Feb 08 2014
Formula
Extensions
More terms from Michel Marcus, Feb 08 2014