login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A321784 Triangle T(n, k) read by rows, n > 0 and 0 < k <= 3^(n-1): T(n, k) = sqrt(A321769(n, k) + A321770(n, k)). 3
3, 5, 7, 5, 7, 11, 9, 13, 17, 11, 11, 13, 7, 9, 15, 13, 21, 27, 17, 19, 23, 13, 19, 29, 23, 31, 41, 27, 25, 29, 15, 17, 25, 19, 23, 31, 21, 17, 19, 9, 11, 19, 17, 29, 37, 23, 27, 33, 19, 31, 47, 37, 49, 65, 43, 39, 45, 23, 29, 43, 33, 41, 55, 37, 31, 35, 17 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
This sequence and A321785 are related to a parametrization of the primitive Pythagorean triples in the tree described in A321768.
LINKS
FORMULA
Empirically:
- T(n, 1) = 2*n + 1,
- T(n, (3^(n-1) + 1)/2) = A001333(n+1),
- T(n, 3^(n-1)) = 2*n + 1.
EXAMPLE
The first rows are:
3
5, 7, 5
7, 11, 9, 13, 17, 11, 11, 13, 7
PROG
(PARI) M = [[1, -2, 2; 2, -1, 2; 2, -2, 3], [1, 2, 2; 2, 1, 2; 2, 2, 3], [-1, 2, 2; -2, 1, 2; -2, 2, 3]];
T(n, k) = my (t=[3; 4; 5], d=digits(3^(n-1)+k-1, 3)); for (i=2, #d, t = M[d[i]+1] * t); return (sqrtint(t[2, 1] + t[3, 1]))
CROSSREFS
Sequence in context: A186702 A141710 A279399 * A225889 A070647 A070949
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Nov 22 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)