Sequence is not the same as
A004249 because
A004249(5) is a composite number.
Corresponding values of numbers k: 0, 1, 2, 4, 16; corresponding values of primes q: 2, 2, 3, 13, 65521.
4 out of 5 known Fermat primes from
A019434 (3, 5, 17, 65537) are terms.