OFFSET
1,1
COMMENTS
FORMULA
EXAMPLE
15 is the smallest triangular number that is a multiple of 3 and 5, so, a(1) = 15.
PROG
(PARI) a001359(n, p=3) = { while( p+2 < (p=nextprime( p+1 )) || n-->0, ); p-2};
a(n) = my(p=a001359(n), k = (p-1)*(p+2)/2); k*(k+1)/2; \\ Michel Marcus, Jun 10 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Ali Sada, Jun 01 2021
EXTENSIONS
a(22)-a(26) from Jon E. Schoenfield, Jun 01 2021
STATUS
proposed