login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A091654 Frequency of primes produced by the greedy algorithm of A091652. 1
1, 1, 2, 3, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 6, 1, 5, 1, 2, 3, 4, 2, 1, 5, 1, 1, 2, 2, 3, 3, 1, 2, 6, 6, 4, 2, 3, 1, 2, 1, 4, 2, 2, 4, 2, 1, 1, 2, 2, 3, 3, 3, 3, 7, 5, 3, 4, 1, 2, 2, 1, 2, 1, 5, 1, 1, 6, 2, 1, 3, 2, 2, 3, 1, 2, 1, 1, 3, 2, 4, 3, 2, 5, 1, 1, 5, 2, 3, 9, 1, 1, 3, 2, 2, 6, 3, 3, 4, 2, 4, 5, 1, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..105.

MATHEMATICA

Needs["Statistics`DataManipulation`"]; n=1000; lst=Reverse[Range[2n]]; prms={}; Do[m=lst[[1]]; lst=Delete[lst, 1]; pos=1; While[Not[PrimeQ[m+lst[[pos]]]], pos++ ]; AppendTo[prms, m+lst[[pos]]]; lst=Delete[lst, pos], {i, n}]; First/@Frequencies[prms]

CROSSREFS

Sequence in context: A064529 A338263 A322874 * A127246 A106038 A078711

Adjacent sequences:  A091651 A091652 A091653 * A091655 A091656 A091657

KEYWORD

easy,nonn

AUTHOR

T. D. Noe, Jan 26 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 21:32 EDT 2021. Contains 347605 sequences. (Running on oeis4.)