OFFSET
1,1
EXAMPLE
a(7) = 15 as 15 =7*2 + 1 is the smallest such triangular number.
MAPLE
a[1] := 3:for n from 2 to 175 do j := 2:while((j*(j+1)/2 mod n)<>1)do j := j+1:od: a[n] := j*(j+1)/2:od:seq(a[k], k=1..175);
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 25 2002
EXTENSIONS
Corrected and extended by Sascha Kurz, Jan 26 2003
STATUS
approved