login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074036 Sum of the primes from the smallest prime factor of n to the largest prime factor of n. 7
0, 2, 3, 2, 5, 5, 7, 2, 3, 10, 11, 5, 13, 17, 8, 2, 17, 5, 19, 10, 15, 28, 23, 5, 5, 41, 3, 17, 29, 10, 31, 2, 26, 58, 12, 5, 37, 77, 39, 10, 41, 17, 43, 28, 8, 100, 47, 5, 7, 10, 56, 41, 53, 5, 23, 17, 75, 129, 59, 10, 61, 160, 15, 2, 36, 28, 67, 58, 98, 17, 71, 5, 73, 197, 8 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

a(14) = 17 because 14 = 2*7 and 2+3+5+7 = 17.

MAPLE

f:=proc(n) local i, t1, t2, t3, t4, t5, t6; if n<=1 then RETURN(0) else

t1:=ifactors(n); t2:=t1[2]; t3:=nops(t2); t4:=0; t5:=pi(t2[1][1]); t6:=pi(t2[t3][1]);

for i from t5 to t6 do t4:=t4+ithprime(i); od; RETURN(t4); fi; end;

CROSSREFS

Cf. A055233, A169802, A169804.

Sequence in context: A075860 A008472 A123528 * A074251 A074196 A153023

Adjacent sequences:  A074033 A074034 A074035 * A074037 A074038 A074039

KEYWORD

easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Sep 15 2002

EXTENSIONS

Maple program from N. J. A. Sloane, May 24 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 10:53 EST 2012. Contains 205904 sequences.