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!)
A099742 Least number B such that (A001359(n)-B^2)^2+B is also the lesser of larger twin primes, or 0 if no such B exists. 2
1, 1, 1, 7, 412, 7, 7, 133, 7, 7, 316, 7, 25, 10, 10, 10, 7, 7, 16, 10, 7, 25, 1, 7, 7, 100, 55, 7, 28, 940, 37, 148, 22, 16, 28, 67, 31, 82, 64, 4, 82, 445, 292, 310, 16, 1687, 13, 37, 43, 7, 58, 22, 31, 97, 70, 7, 22, 1, 19, 52, 58, 25, 1, 367, 4, 7, 4, 37, 55 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

COMMENTS

Conjecture: No term is zero.

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

EXAMPLE

a(3) = 1 since A001359(3) = 11, 11 & 13 are twin primes, (11 - 1^2)^2 + 1 = 101, and 101 & 103 are also twin primes.

MATHEMATICA

f[p_] := Module[{b = 1}, While[(pb = (p - b^2)^2 + b) <= p || ! And @@ PrimeQ[pb + {0, 2}], b++]; b]; seq = {}; Do[If[And @@ PrimeQ[p + {0, 2}], AppendTo[seq, f[p]]], {p, 2, 3000}]; seq (* Amiram Eldar, Dec 30 2019 *)

CROSSREFS

Cf. A001359, A099728.

Sequence in context: A099125 A172894 A286393 * A287033 A331338 A269555

Adjacent sequences:  A099739 A099740 A099741 * A099743 A099744 A099745

KEYWORD

nonn

AUTHOR

Ray G. Opao, Nov 09 2004

EXTENSIONS

More terms from Amiram Eldar, Dec 30 2019

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 February 27 03:30 EST 2020. Contains 332299 sequences. (Running on oeis4.)