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.

A366510 Largest prime divisor of n which is < sqrt(n), 1 if n is prime, square of prime or 1.

This page as a plain text file.
%I A366510 #24 Jan 04 2024 19:24:31
%S A366510 1,1,1,1,1,2,1,2,1,2,1,3,1,2,3,2,1,3,1,2,3,2,1,3,1,2,3,2,1,5,1,2,3,2,
%T A366510 5,3,1,2,3,5,1,3,1,2,5,2,1,3,1,5,3,2,1,3,5,7,3,2,1,5,1,2,7,2,5,3,1,2,
%U A366510 3,7,1,3,1,2,5,2,7,3,1,5,3,2,1,7,5,2,3,2,1,5,7,2,3,2,5,3,1,7,3,5
%N A366510 Largest prime divisor of n which is < sqrt(n), 1 if n is prime, square of prime or 1.
%H A366510 Andrew Howroyd, <a href="/A366510/b366510.txt">Table of n, a(n) for n = 1..10000</a>
%o A366510 (PARI) a(n) = {my(m=1); foreach(factor(n)[,1], d, if(d^2 < n, m=max(m,d))); m} \\ _Andrew Howroyd_, Oct 11 2023
%Y A366510 Cf. A006530, A060775, A085392, A217581.
%K A366510 nonn
%O A366510 1,6
%A A366510 _Ilya Gutkovskiy_, Oct 11 2023