A300950 Fixed points of A300948.
3, 4, 7, 8, 11, 12, 15, 48, 51, 52, 55, 56, 59, 60, 63, 64, 67, 68, 71, 72, 75, 76, 79, 112, 115, 116, 119, 120, 123, 124, 127, 128, 131, 132, 135, 136, 139, 140, 143, 176, 179, 180, 183, 184, 187, 188, 191, 192, 195, 196, 199, 200, 203, 204, 207, 240, 243
Offset: 1
Examples
A300948(7) = 7 hence 7 belongs to this sequence. A300948(42) = 25 hence 42 does not belong to this sequence.
Formula
For any n > 0 with binary expansion Sum_{i=0..k} b_i * 2^i, a(n) = Sum_{i=0..k} b_i * p(i+1) (where p(i) denotes the i-th term of the set P described in the Comments section).
Comments