Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A071259
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A071259 Integer part of the arithmetic mean of the n-th prime p(n) and the n-th composite number C(n). +0
3
3, 4, 6, 8, 10, 12, 15, 17, 19, 23, 25, 29, 31, 33, 36, 39, 43, 44, 48, 51, 53, 56, 59, 62, 67, 70, 71, 74, 76, 79, 86, 89, 93, 94, 100, 101, 105, 109, 111, 115, 118, 120, 126, 128, 130, 132, 138, 145, 148, 149, 152, 156, 158, 163, 167, 170, 174, 176, 179, 182, 184 (list; graph; listen)
OFFSET

1,1

FORMULA

Floor [ (p(n) + C(n))/2]

a(n)=Floor[[A000040(n)+A002808(n)]/2]; Prime[n]>a(n)>Composite[n]

EXAMPLE

a(7) = {p(7) + C(7)}/2 = (17 + 14)/2 = 15.

p(9) = 23, C(9) = 16, average = 19.5, a(9) = 19.

MATHEMATICA

c[x_] := FixedPoint[x+PrimePi[ # ]+1&, x] Do[s=(Prime[n]+c[n])/2; If[IntegerQ[s], Print[s]], {n, 1, 256}]

CROSSREFS

Cf. A000040, A002808, A073432, A073433, A071260.

Adjacent sequences: A071256 A071257 A071258 this_sequence A071260 A071261 A071262

Sequence in context: A092535 A135667 A025201 this_sequence A054041 A092137 A059608

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), May 30 2002

EXTENSIONS

More terms from Labos E. (labos(AT)ana.sote.hu), Jul 31 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 October 10 20:39 EDT 2008. Contains 144831 sequences.


AT&T Labs Research