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.

A085428 Sum of the smallest and largest prime divisors of the n-th composite number.

This page as a plain text file.
%I A085428 #4 Oct 01 2013 17:57:39
%S A085428 4,5,4,6,7,5,9,8,4,5,7,10,13,5,10,15,6,9,7,4,14,19,12,5,21,16,7,9,13,
%T A085428 8,25,5,14,7,20,15,5,16,9,22,31,7,33,10,4,18,13,19,26,9,5,39,8,21,18,
%U A085428 15,7,6,43,9,22,45,32,13,7,20,25,34,49,24,5,9,14,7
%N A085428 Sum of the smallest and largest prime divisors of the n-th composite number.
%o A085428 (PARI) maxpmindivc(n) = { for(x=4,n, s=0; forstep(p=2,x-1,1, if(x%p==0 & isprime(p),s=p; break); ); forstep(p=x-1,2,-1, if(x%p==0 & isprime(p),print1(s+p,","); break); ) ) }
%Y A085428 Equals A056608(n) + A052369(n).
%K A085428 easy,nonn
%O A085428 0,1
%A A085428 _Cino Hilliard_, Aug 13 2003