OFFSET
1,1
COMMENTS
Self-descriptive sequence: even indexed terms are the sequence itself, odd indexed terms are the prime numbers.
This is an r1k1 fractal sequence, where r1k1 means: remove 1 term, keep 1 term, repeat. The Removed terms are the sequence that has been fractalized, and the Kept terms are the original fractal sequence.
This fractal sequence is also a Kimberling fractal sequence because if you delete the first occurrence of each term, the remaining sequence is the same as the original.
LINKS
David Cleaver, Table of n, a(n) for n = 1..10000
Clark Kimberling, Fractal sequences.
MATHEMATICA
a[n_] := Prime[(n/2^IntegerExponent[n, 2] + 1)/2]; Array[a, 100] (* Amiram Eldar, Mar 21 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Cleaver, Mar 16 2025
STATUS
approved
