OFFSET
1,1
COMMENTS
Composites in this sequence: 15, 33, 45, 69, 75, 87, 99, 135, 141, 159, 177, 207, 213, 225, 249, 261, 297, 303, 321, 363, 375, 393, 405, 423, 447, 477, ...
EXAMPLE
A246702(8) = 3 for the first time, hence a(1) = 2*8 - 1 = 15.
PROG
(PARI) is(k) = (m=Mod(k%2, k*k)) && sum(i=1, k*k-1, m*=2; m==1) == 3; \\ Jinyuan Wang, May 15 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 15 2014
EXTENSIONS
More terms from and terms corrected by Jinyuan Wang, May 15 2020
STATUS
approved