cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A286148 Triangle A286146 reversed.

This page as a plain text file.
%I A286148 #16 Jun 11 2025 00:58:00
%S A286148 1,5,2,13,16,4,25,67,12,7,41,191,106,46,11,61,436,80,31,23,16,85,862,
%T A286148 596,379,211,92,22,113,1541,302,781,59,277,38,29,145,2557,1954,193,
%U A286148 991,631,58,154,37,181,4006,822,2416,467,96,212,436,57,46,221,5996,4852,3829,2927,2146,1486,947,529,232,56,265,8647,1832,706,355,3487,142,1771,109,94,80,67
%N A286148 Triangle A286146 reversed.
%C A286148 See A286146, A286101.
%H A286148 Antti Karttunen, <a href="/A286148/b286148.txt">Table of n, a(n) for n = 1..10585; the first 145 rows of triangle</a>
%e A286148 The first twelve rows of the triangle:
%e A286148     1,
%e A286148     5,    2,
%e A286148    13,   16,    4,
%e A286148    25,   67,   12,    7,
%e A286148    41,  191,  106,   46,   11,
%e A286148    61,  436,   80,   31,   23,   16,
%e A286148    85,  862,  596,  379,  211,   92,   22,
%e A286148   113, 1541,  302,  781,   59,  277,   38,   29,
%e A286148   145, 2557, 1954,  193,  991,  631,   58,  154,  37,
%e A286148   181, 4006,  822, 2416,  467,   96,  212,  436,  57,  46,
%e A286148   221, 5996, 4852, 3829, 2927, 2146, 1486,  947, 529, 232, 56,
%e A286148   265, 8647, 1832,  706,  355, 3487,  142, 1771, 109,  94, 80, 67
%o A286148 (Scheme) (define (A286148 n) (A286101bi (A002024 n) (A004736 n))) ;; For A286101bi see A286101.
%o A286148 (Python)
%o A286148 from math import lcm, gcd
%o A286148 def t(n, k): return (2 + ((gcd(n, k) + lcm(n, k))**2) - gcd(n, k) - 3*lcm(n, k))//2
%o A286148 for n in range(1, 21): print([t(n, k) for k in range(1, n + 1)][::-1]) # _Indranil Ghosh_, May 11 2017
%Y A286148 Cf. A286101.
%Y A286148 Cf. A286146 (same triangle reversed).
%K A286148 nonn,tabl
%O A286148 1,2
%A A286148 _Antti Karttunen_, May 06 2017