Hopping numbers – codegolf.stackexchange.com

TASK print integers n, where 12 <= n <= 123456789, and all pairs of consecutive digits in n have the same positive difference between them (e.g. 2468 but not 2469). NO INPUT. Output: 12 13 ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Hopping numbers – codegolf.stackexchange.com"