A279204 Numbers whose decimal expansion is a concatenation of 4 consecutive increasing nonnegative numbers.
1234, 2345, 3456, 4567, 5678, 6789, 78910, 891011, 9101112, 10111213, 11121314, 12131415, 13141516, 14151617, 15161718, 16171819, 17181920, 18192021, 19202122, 20212223, 21222324, 22232425, 23242526, 24252627, 25262728, 26272829, 27282930, 28293031, 29303132, 30313233, 31323334
Offset: 1
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
A279204[n_] := FromDigits[Flatten[IntegerDigits[Range[n, n + 3]]]]; Array[A279204, 50] (* Paolo Xausa, Aug 26 2024 *)
-
Python
def A279204(n): return int(str(n)+str(n+1)+str(n+2)+str(n+3)) # Chai Wah Wu, Dec 17 2016
Comments