login
A025506
Least k such that first k terms of A006928 contain n more 1's than 2's.
3
2, 1, 4, 31, 256, 797, 824, 857, 1126, 1397, 1496, 1523, 1532, 193139, 193172, 194035, 194044, 195377, 196370, 196379, 198570, 198633, 199148, 199553, 199860, 200285, 201758, 201785, 201794, 205329, 205686, 205713, 205806, 206031, 206064, 206091
OFFSET
0,1
COMMENTS
a(n)=i => i is the smallest index such that A088568(i)=n. Because the difference between successive elements of A088568 can only be -1 or 1, the sequence is monotonic increasing except for a(1) < a(0). - Paolo Bonzini, Jul 06 2016
LINKS
EXAMPLE
A088568 begins with 1,0,1,2.. 0 appears first at index 2, 1 appears first at index 1, 2 appears first at index 4. - Paolo Bonzini, Jul 06 2016
CROSSREFS
KEYWORD
nonn
EXTENSIONS
Edited by N. J. A. Sloane, Aug 11 2016
STATUS
approved