an appropriate number of pebbles , stars , or some other object with which any intelligent being gifted with sight should have been visually familiar were shown in juxtaposition to each of the symbols ; i thus deduced their number system : a dot was zero ; a vertical line segment was one ; an upside-down v was two ; a triangle , three ; a square , four ; a pentagon , five .