login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A375692
Decimal concatenation of the 5 numbers n,n+1,n+2,n+3,n+4.
0
12345, 23456, 34567, 45678, 56789, 678910, 7891011, 89101112, 910111213, 1011121314, 1112131415, 1213141516, 1314151617, 1415161718, 1516171819, 1617181920, 1718192021, 1819202122, 1920212223, 2021222324, 2122232425, 2223242526, 2324252627, 2425262728, 2526272829
OFFSET
1,1
MATHEMATICA
Table[FromDigits[Join[Flatten[IntegerDigits/@{n, n+1, n+2, n+3, n+4}]]], {n, 25}] (* James C. McMahon, Oct 11 2024 *)
PROG
(Python)
def a(n): return int(str(n)+str(n+1)+str(n+2)+str(n+3)+str(n+4))
(PARI) a(n) = eval(concat(vector(5, i, Str(n+i-1)))); \\ Michel Marcus, Sep 17 2024
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Viljo Huhtala, Aug 25 2024
STATUS
approved