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!)
A199857 Numbers such that the sum of the squares of the largest and the smallest prime divisor equals the sum of the squares of the other distinct prime divisors. 1
24871, 81719, 81809, 88711, 174097, 198679, 201761, 256151, 273581, 290191, 329681, 405449, 422807, 428281, 472549, 572663, 592999, 604279, 620977, 701561, 728119, 752191, 770431, 876641, 898909, 1011839, 1063517, 1121729, 1178879, 1218679, 1251439, 1389223 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
24871 is in the sequence because the prime distinct divisors are {7, 11, 17, 19} and 19^2 + 7^2 = 11^2 + 17^2 = 410.
Although the early terms are all odd with four distinct prime factors, 7212590 = 2 * 5 * 7 * 11 * 17 * 19 * 29 has seven distinct prime factors, and 2^2 + 29^2 = 5^2 + 7^2 + 11^2 + 17^2 + 19^2 = 845. - D. S. McNeil, Nov 12 2011
MAPLE
isA199857 := proc(n)
local p;
p := sort(convert((numtheory[factorset](n)), list)) ;
if nops(p) >= 3 then
return ( op(1, p)^2 + op(-1, p)^2 = add(op(i, p)^2, i=2..nops(p)-1) ) ;
else
false;
end if;
end proc:
for n from 2 to 1500000 do
if isA199857(n) then
printf("%d, ", n) ;
end if ;
end do: # program from R. J. Mathar adapted for this sequence - see A199745
MATHEMATICA
Select[Range[1400000], Plus@@((pl=First/@FactorInteger[#])^2/2) == pl[[1]]^2+pl[[-1]]^2&] (* program from Ray Chandler adapted for this sequence - see A199745 *)
CROSSREFS
Cf. A199745.
Sequence in context: A252639 A252146 A110599 * A138717 A139776 A214013
KEYWORD
nonn
AUTHOR
Michel Lagneau, Nov 11 2011
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 24 15:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)