Codes/Volume 02/E0052 Permuted multiples.cpp
/*
Statement:
 It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order.

 Find the smallest positive integer, x, such that 2x, 3x, 4x, 5x, and 6x, contain the same digits.
*/
It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order.

Find the smallest positive integer, x, such that 2x, 3x, 4x, 5x, and 6x, contain the same digits.
It can be seen that the number 125874 and its double 251748 contain exactly the same digits but in a different order . Find the smallest positive integer x such that 2x 3x 4x 5x and 6x contain the same digits .
string digitSignature(ll number){
    string ret = to_string(number);
    sort(ret.begin(), ret.end());
    return ret;
}
string digitSignature ( ll number ) { string ret = to_string ( number ) ; sort ( ret . begin ( ) , ret . end ( ) ) ; return ret ; }
Statement:
It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order.
Statement : It can be seen that the number 125874 and its double 251748 contain exactly the same digits but in a different order .