The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A233206 Number of ways to write n = k + m (0 < k <= m) with k! + prime(m) prime. 7
0, 1, 0, 1, 1, 1, 2, 2, 2, 3, 1, 5, 2, 3, 5, 3, 3, 4, 7, 4, 4, 6, 3, 3, 5, 6, 4, 5, 4, 4, 2, 4, 4, 7, 9, 4, 6, 5, 5, 5, 6, 8, 8, 7, 8, 6, 5, 5, 5, 7, 8, 7, 7, 8, 7, 9, 7, 6, 10, 6, 6, 9, 4, 7, 4, 9, 8, 8, 5, 9, 6, 2, 6, 7, 3, 8, 8, 9, 9, 7, 6, 10, 8, 8, 11, 7, 7, 4, 6, 8, 8, 5, 8, 5, 8, 14, 8, 7, 10, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
Conjecture: a(n) > 0 for all n > 3.
We have verified this for n up to 10^7. For n = 1356199, the least positive integer k with k! + prime(n-k) prime is 4496. For n = 7212995, the smallest positive integer k with k! + prime(n-k) prime is 4507.
LINKS
Z.-W. Sun, Problems on combinatorial properties of primes, arXiv:1402.6641, 2014
EXAMPLE
a(6) = 1 since 6 = 3 + 3 with 3! + prime(3) = 6 + 5 = 11 prime.
a(11) = 1 since 11 = 4 + 7 with 4! + prime(7) = 24 + 17 = 41 prime.
MATHEMATICA
a[n_]:=Sum[If[PrimeQ[k!+Prime[n-k]], 1, 0], {k, 1, n/2}]
Table[a[n], {n, 1, 100}]
CROSSREFS
Sequence in context: A273943 A256071 A248808 * A014843 A116987 A219838
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Dec 05 2013
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 12:26 EDT 2024. Contains 372600 sequences. (Running on oeis4.)