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!)
A110559 Least j such that j*n^2 -1 and j*n^2 +1 are twin primes. 2
4, 1, 2, 12, 6, 2, 18, 3, 10, 6, 12, 3, 12, 18, 18, 57, 12, 5, 120, 12, 2, 3, 132, 2, 42, 3, 58, 45, 12, 7, 72, 15, 10, 3, 6, 2, 60, 30, 12, 3, 168, 2, 192, 18, 2, 33, 48, 10, 138, 39, 8, 63, 42, 22, 60, 42, 32, 3, 120, 6, 90, 18, 40, 165, 204, 7, 90, 18, 70, 6, 72, 27, 30, 15, 6, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Define Sj=sum of j(n) for n=1 to N. Define Sn=sum of (2*log(n))^2 for n=1 to N. As N increases Sj/Sn tends to 0.6. - Pierre CAMI, Dec 13 2011
LINKS
EXAMPLE
12*4*4-1=191, 191 and 193 are twin primes so a(4)=12.
PROG
(PARI) a(n) = my(j=1); while (!(isprime(p=j*n^2-1) && isprime(p+2)), j++); j; \\ Michel Marcus, Sep 17 2019
CROSSREFS
Cf. A231819.
Sequence in context: A024569 A206692 A159756 * A365455 A030441 A298570
KEYWORD
nonn
AUTHOR
Pierre CAMI, Sep 12 2005
EXTENSIONS
Extended by Ray Chandler, Sep 15 2005
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)