login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A093799
a(1) = 1; a(n+1) is the smallest triangular number such that the greatest common divisor gcd(a(n+1), a(n)) is a triangular number itself.
1
1, 3, 6, 15, 21, 36, 55, 78, 105, 120, 153, 190, 210, 231, 276, 325, 378, 435, 465, 528, 595, 666, 741, 820, 903, 990, 1035, 1128, 1225, 1326, 1431, 1540, 1596, 1711, 1830, 1953, 2080, 2211, 2346, 2485, 2628, 2775, 2926, 3081, 3240, 3403, 3570, 3741, 3916
OFFSET
1,2
LINKS
MATHEMATICA
tri[n_] := n (n + 1)/2; triRoot[n_] := (-1 + Sqrt[8 n + 1])/2; triQ[n_] := IntegerQ @ Sqrt[8 n + 1]; f[n_] := Module[{k = triRoot[n] + 1}, While[!triQ[ GCD[n, (t = tri[k])]], k++]; t]; s = {1}; Nest[AppendTo[s, f[s[[-1]]]] &, s, 48] (* Amiram Eldar, Dec 23 2019 *)
CROSSREFS
Cf. A000217.
Sequence in context: A069559 A117748 A061066 * A087359 A253651 A180322
KEYWORD
easy,nonn
AUTHOR
Jason Earls, May 18 2004
EXTENSIONS
Better description from Stefan Steinerberger, Feb 07 2006
STATUS
approved