For example 98246417 is a W number, with peaks at 9, 6, and 7; and valleys at 2 and 1. But 874679642 is not, because it only has 2 peaks and 2 valleys making only two changes of direction.
How many 10-digit pandigital W numbers are there?
|
||
perplexus dot info |
|
|
|||||||||||||||||||||||||||||||||||||