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!)
A105174 Numbers k such that k*(k+1)/4 - 1 and k*(k+1)/4 + 1 are twin primes. 3
8, 15, 23, 24, 71, 80, 104, 128, 159, 216, 231, 264, 288, 303, 336, 344, 455, 495, 528, 543, 560, 608, 624, 680, 744, 816, 840, 879, 896, 1016, 1104, 1311, 1415, 1440, 1464, 1520, 1584, 1599, 1751, 1871, 1896, 1920, 1976, 2015, 2016, 2055, 2088, 2103, 2175 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The twin primes are = (sum of numbers from 1 to k)/2 -1 and +1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
EXAMPLE
8*9/4=18, 17 and 19 twin primes so a(1)=8
15*16/4=60, 59 and 61 twin primes so a(2)=15
MATHEMATICA
Select[Range[2200], AllTrue[(#(#+1))/4+{1, -1}, PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Aug 01 2015 *)
CROSSREFS
Sequence in context: A291747 A024734 A024956 * A338857 A126622 A109332
KEYWORD
nonn
AUTHOR
Pierre CAMI, Apr 11 2005
EXTENSIONS
More terms from Zak Seidov, Oct 07 2009
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)