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.

A322828 a(n) is the concatenation of n and pi(n).

Original entry on oeis.org

10, 21, 32, 42, 53, 63, 74, 84, 94, 104, 115, 125, 136, 146, 156, 166, 177, 187, 198, 208, 218, 228, 239, 249, 259, 269, 279, 289, 2910, 3010, 3111, 3211, 3311, 3411, 3511, 3611, 3712, 3812, 3912, 4012, 4113, 4213, 4314, 4414, 4514, 4614, 4715, 4815, 4915, 5015, 5115
Offset: 1

Views

Author

G. L. Honaker, Jr., Dec 26 2018

Keywords

Examples

			a(5) = 53 because if n=5 then pi(5)=3, therefore concatenation gives 53.
		

Crossrefs

Programs

  • Maple
    a:= n-> parse(cat(n, numtheory[pi](n))):
    seq(a(n), n=1..60);  # Alois P. Heinz, Dec 28 2018
  • PARI
    a(n) = eval(concat(Str(n), Str(primepi(n)))); \\ Michel Marcus, Dec 29 2018