a recursive patterned flag for a cooperative population