The search algorithm for discrete mode of electron plasma