A255678 Smallest number m needing exactly n distinct digits in decimal representation of m*(m+1)/2.
0, 4, 14, 45, 143, 452, 1431, 4549, 14334, 46097
Offset: 1
Programs
-
Haskell
a255678 n = head $ filter ((== n) . a118668) [0..]
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.
a255678 n = head $ filter ((== n) . a118668) [0..]
Comments