login
A277738
Positions of 2's in A277735.
4
3, 12, 16, 20, 27, 34, 43, 47, 56, 60, 69, 73, 77, 84, 93, 97, 101, 108, 117, 121, 125, 132, 139, 148, 152, 161, 165, 169, 176, 183, 192, 196, 205, 209, 213, 220, 227, 236, 240, 249, 253, 262, 266, 270, 277, 286, 290, 294, 301, 308, 317, 321, 330, 334, 343, 347, 351, 358, 367, 371, 375, 382, 389, 398
OFFSET
1,1
COMMENTS
{A277736, A277737, A277738} forms a three-way partition of the positive integers, similar to {A003144, A003145, A003146}.
LINKS
MAPLE
with(ListTools);
T:=proc(S) Flatten(subs( {0=[0, 1], 1=[2, 0], 2=[0]}, S)); end;
S:=[0];
for n from 1 to 14 do S:=T(S); od:
S; # A277735
p0:=[]: p1:=[]: p2:=[]:
for i from 1 to nops(S) do
j:=S[i];
if j=0 then p0:=[op(p0), i];
elif j=1 then p1:=[op(p1), i];
else p2:=[op(p2), i]; fi: od:
p0; # A277736
p1; # A277737
p2: # A277738
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 07 2016
STATUS
approved