login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A340494
Index where n first appears in A340488.
5
1, 3, 6, 8, 16, 18, 21, 23, 56, 58, 61, 63, 71, 73, 76, 78, 216, 218, 221, 223, 231, 233, 236, 238, 271, 273, 276, 278, 286, 288, 291, 293, 856, 858, 861, 863, 871, 873, 876, 878, 911, 913, 916, 918, 926, 928, 931, 933, 1071, 1073, 1076, 1078, 1086, 1088, 1091
OFFSET
0,2
COMMENTS
The first differences appear to be some kind of ruler sequence separated by 2's.
indeed, the first differences look like n -> f(A001511(n)) with f = (2, 3, 8, 33, 138, 563, 2268, 9093, 36398, 145623, 582528, 2330153, 9320658, etc.). See A340495. - Rémy Sigrist, Jan 10 2021
LINKS
FORMULA
The generating function appears to be
1/(1-x ) + 2*x/(1-x)^2 + (1/(1-x))*Sum_{t>=1} x^(2^t)*(g(t+1)-g(t))/(1-x^(2^t)),
where g = {g(t): t >= 1} = 2,3,8,33,138,... has g.f. x*(2*x-1)*(2*x^2+5*x-2)/((1-x)^2*(1-4*x)). - Rémy Sigrist and N. J. A. Sloane, Jan 10 2021
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 10 2021
EXTENSIONS
More terms from Rémy Sigrist, Jan 10 2021
STATUS
approved