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.

A375692 Decimal concatenation of the 5 numbers n,n+1,n+2,n+3,n+4.

Original entry on oeis.org

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

Views

Author

Viljo Huhtala, Aug 25 2024

Keywords

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[Join[Flatten[IntegerDigits/@{n,n+1,n+2,n+3,n+4}]]],{n,25}] (* James C. McMahon, Oct 11 2024 *)
  • PARI
    a(n) = eval(concat(vector(5, i, Str(n+i-1)))); \\ Michel Marcus, Sep 17 2024
  • Python
    def a(n): return int(str(n)+str(n+1)+str(n+2)+str(n+3)+str(n+4))