初等算法

primary algorithm