This site is supported by donations to The OEIS Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A208249 Number of primes p with n < p < 2n, such that p-1 and p+1 are both practical. 17
 0, 1, 1, 2, 1, 1, 0, 0, 1, 2, 2, 2, 2, 2, 3, 4, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,4 COMMENTS Conjecture: a(n)>0 for all n>8. Zhi-Wei Sun also made the following conjectures: (1) For each integer n>6 there is a practical number q with n231 there is a prime p with n1 can be written as p+q (p,q>0) with p practical and p^2+q^2 prime. LINKS Zhi-Wei Sun, Table of n, a(n) for n = 1..10000 G. Melfi, On two conjectures about practical numbers, J. Number Theory 56 (1996) 205-210 [MR96i:11106]. Zhi-Wei Sun, Conjectures involving primes and quadratic forms, arxiv:1211.1588 [math.NT], 2012-2017. FORMULA a(n) = card { p in A000040 | n < p < 2n, p-1 and p+1 are both practical }. EXAMPLE a(9)=1 since 17 is the only prime 90&&(n<3||Mod[n, 2]+Con[n]==0); a[n_] := a[n] = Sum[If[PrimeQ[n+k] == True && pr[n+k-1] == True && pr[n+k+1] == True, 1, 0], {k, 1, n-1}]; Table[a[n], {n, 1, 100}] CROSSREFS Cf. A000040, A001097, A005153, A208243, A208244, A208246. Sequence in context: A191336 A277349 A078807 * A029422 A152800 A223730 Adjacent sequences:  A208246 A208247 A208248 * A208250 A208251 A208252 KEYWORD nonn AUTHOR Zhi-Wei Sun, Jan 12 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 21 03:24 EDT 2019. Contains 328291 sequences. (Running on oeis4.)