OFFSET
1,2
COMMENTS
Concatenation of the integers from A000124(n-1) up to and including A000217(n). - R. J. Mathar, Aug 30 2013
The second term is a prime. When is the next prime, if there is another? - N. J. A. Sloane, Dec 16 2016
REFERENCES
Felice Russo, A set of new Smarandache functions, sequences and conjectures in number theory, American Research Press 2000.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..200
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@Range[(n(n-1))/2+1, (n(n+1))/2]]], {n, 20}] (* Harvey P. Dale, Jan 23 2016 *)
PROG
(PARI) a(n) = my(s = ""); for (i=n*(n-1)/2 + 1, n*(n+1)/2, s = concat(s, Str(i)); ); eval(s); \\ Michel Marcus, Aug 11 2017
(Python)
def a(n): return int("".join(map(str, range((n-1)*n//2+1, n*(n+1)//2+1))))
print([a(n) for n in range(1, 16)]) # Michael S. Branicky, Jan 23 2021
CROSSREFS
KEYWORD
easy,base,nonn
AUTHOR
Felice Russo, Feb 25 2000
EXTENSIONS
More terms from James A. Sellers, Feb 28 2000
More terms from Michel Marcus, Aug 11 2017
STATUS
approved