cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A247616 Numbers with more than two distinct digits in arithmetic progression.

Original entry on oeis.org

123, 135, 147, 159, 210, 234, 246, 258, 321, 345, 357, 369, 420, 432, 456, 468, 531, 543, 567, 579, 630, 642, 654, 678, 741, 753, 765, 789, 840, 852, 864, 876, 951, 963, 975, 987, 1234, 1357, 2345, 2468, 3210, 3456, 3579, 4321, 4567, 5432, 5678, 6420, 6543
Offset: 1

Views

Author

Reinhard Zumkeller, Sep 21 2014

Keywords

Comments

A135643 without repdigit numbers (cf. A010785);
finite sequence with last and largest term a(96) = 9876543210.

Examples

			a(40) = 2468 with constant digit differences = +2;
a(41) = 3210 with constant digit differences = -1;
a(42) = 3456 with constant digit differences = +1.
		

Crossrefs

Subsequence of A135643.

Programs

  • Haskell
    a247616 n = a247616_list !! (n-1)
    a247616_list = filter f [100 .. 9876543210] where
       f x = head vs /= 0 && all (== 0) ws where
             ws = zipWith (-) (tail vs) vs
             vs = zipWith (-) (tail us) us
             us = map (read . return) $ show x