Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130066
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130066 Primes prime(n) such that both of the numbers (prime(n+1)^2-prime(n)^2)/2 - 1 and (prime(n+1)^2-prime(n)^2)/2 + 1 are primes. +0
1
5, 13, 29, 43, 103, 163, 167, 421, 547, 557, 587, 631, 659, 691, 701, 809, 823, 883, 919, 977, 1249, 1367, 1459, 1499, 1637, 1663, 1693, 1747, 1801, 1889, 1987, 2129, 2203, 2549, 2719, 3089, 3137, 3221, 3329, 3389, 3637, 3881, 4327, 4507, 4513, 4663, 4783 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(1)=5 because (7^2 - 5^2)/2 - 1 = 11 and (7^2 - 5^2)/2 + 1 = 13 (11, 13 are both primes),

a(2)=13 because (17^2 - 13^2)/2 - 1 = 59 and (17^2 - 13^2)/2 + 1 = 61,

a(3)=29 because (31^2 - 29^2)/2 - 1 = 59 and (31^2 - 29^2)/2 + 1 = 61, ...

MAPLE

ts_p3_1:=proc(n) local a, b, i, ans; ans := [ ]: for i from 2 by 1 to n do a := (ithprime(i+1)^(2)-ithprime(i)^(2))/2-1: b := (ithprime(i+1)^(2)-ithprime(i)^(2))/2+1: if (isprime(a)=true and isprime(b)=true) then ans := [ op(ans), ithprime(i) ]: fi od; RETURN(ans) end: ts_p3_1(2000);

CROSSREFS

Cf. A130761.

Sequence in context: A007521 A078598 A065374 this_sequence A095085 A093836 A000328

Adjacent sequences: A130063 A130064 A130065 this_sequence A130067 A130068 A130069

KEYWORD

nonn

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), Aug 01 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research