Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A076690
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A076690 Nearest integer to average of the smallest and largest prime factors of n (0.5 is rounded to 1). +0
2
2, 3, 2, 5, 3, 7, 2, 3, 4, 11, 3, 13, 5, 4, 2, 17, 3, 19, 4, 5, 7, 23, 3, 5, 8, 3, 5, 29, 4, 31, 2, 7, 10, 6, 3, 37, 11, 8, 4, 41, 5, 43, 7, 4, 13, 47, 3, 7, 4, 10, 8, 53, 3, 8, 5, 11, 16, 59, 4, 61, 17, 5, 2, 9, 7, 67, 10, 13, 5, 71, 3, 73, 20, 4, 11, 9, 8, 79, 4, 3, 22, 83, 5, 11, 23, 16 (list; graph; listen)
OFFSET

2,1

EXAMPLE

The smallest and largest prime factors of 6 are 2 and 3, respectively, the average of which is 2.5, rounding off to 3. Hence a(6) = 3.

MATHEMATICA

f[n_] := Module[{p, l}, p = Transpose[FactorInteger[n]][[1]]; l = Length[p]; Ceiling[(p[[1]] + p[[l]])/2]]; Table[f[i], {i, 2, 100}]

CROSSREFS

Sequence in context: A109674 A067629 A079870 this_sequence A086287 A090662 A088387

Adjacent sequences: A076687 A076688 A076689 this_sequence A076691 A076692 A076693

KEYWORD

easy,nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Oct 25 2002

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research