# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a164000 Showing 1-1 of 1 %I A164000 #11 Jan 23 2023 12:41:41 %S A164000 1,6,15,28,45,66,91,128,162,200,231,372,325,406,495,656,561,954,703, %T A164000 1180,987,1078,1035,1896,1375,1534,1701,2324,1653,3090,1891,3104,2541, %U A164000 2686,3045,5004,2701,3382,3627,5560,3321,6846,3655,6028,6165,5014,4371 %N A164000 Main diagonal of array in A163280. %p A164000 A033676 := proc(n) local a, d; a := 0 ; for d in numtheory[divisors](n) do if d^2 <= n then a := max(a, d) ; end if; end do: a; end proc: A163280 := proc(n, k) local r, T ; r := 0 ; for T from k^2 by k do if A033676(T) = k then r := r+1 ; if r = n then RETURN(T) ; end if; end if; end do: end proc: A164000 := proc(n) A163280(n,n) ; end proc: seq(A164000(n),n=1..60) ; # _R. J. Mathar_, Feb 16 2010 %t A164000 nmax = 50; %t A164000 pm = Prime[nmax]; %t A164000 selDiv[n_] := Select[Divisors[n], #^2 <= n&][[-1]]; %t A164000 Clear[col]; %t A164000 col[k_] := col[k] = Select[Range[k pm], selDiv[#] == k&]; %t A164000 a[n_] := col[n][[n]]; %t A164000 Array[a, nmax] (* _Jean-François Alcover_, Mar 24 2020 *) %o A164000 (PARI) lista(nn) = my(v = apply(f, [1..(2*nn-1)^2]), cols = vector(nn, i, select(x->(x==i), v, 1))); vector(nn, i, cols[i][i]); \\ _Michel Marcus_, Jan 23 2023 %Y A164000 Cf. A008578, A161344, A161345, A163280. %K A164000 nonn %O A164000 1,2 %A A164000 _Omar E. Pol_, Aug 08 2009 %E A164000 Terms from a(13) on by _R. J. Mathar_, Feb 16 2010 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE