Bike interested permutation a permutation length n integer sequence integer 0 n1 appear exactly for example 021 permutation length 3 022 123 nota permutation triple permutation length n abc call Lucky Permutation triple the sign ai denote ith element permutation the modular equality describe denote remainder divide aibi n divide ci n equalnow integer n wants find Lucky Permutation Triple could help