Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A160758
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A160758 Integer averages of n nonprimes for some n. +0
1
1, 8, 25, 33, 359, 2948, 3291, 4959, 22350, 33357, 60907, 80962, 8276347, 11856980, 15254419, 176009996 (list; graph; listen)
OFFSET

1,2

FORMULA

1/n*Sum {j=1..n} NonPrime_j is an integer. [From Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 05 2009]

MATHEMATICA

lst = {}; s = 0; c = 0; k = 1; While[k < 2700000000, If[ !PrimeQ@k, c++; s = s + k; If[Mod[s, c] == 0, AppendTo[lst, s/c]]]; k++ ]; lst [From Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 05 2009]

CROSSREFS

Cf. A050248, integer averages of n primes for some n

This occurs for the first k non-primes: A129749. [From Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 05 2009]

Sequence in context: A030796 A116086 A042611 this_sequence A163862 A015804 A161448

Adjacent sequences: A160755 A160756 A160757 this_sequence A160759 A160760 A160761

KEYWORD

easy,nonn,more

AUTHOR

Daniel Tisdale (daniel6874(AT)gmail.com), May 25 2009

EXTENSIONS

a(6) - a(16) from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 05 2009

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 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research