A340494 Index where n first appears in A340488.
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
Keywords
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8191
- Rémy Sigrist, PARI program for A340494
Programs
-
PARI
See Links section.
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
Extensions
More terms from Rémy Sigrist, Jan 10 2021
Comments