[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A228590 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Starting from a(1)=1, a(n) is the minimum integer greater than a(n-1) such that a(n)+a(n-1), a(n)*a(n-1)+1 and a(n)*a(n-1)-1 are all primes.
(history; published version)
#6 by N. J. A. Sloane at Tue Aug 27 09:30:50 EDT 2013
STATUS

editing

approved

#5 by N. J. A. Sloane at Tue Aug 27 09:30:47 EDT 2013
COMMENTS

Terms are one after the other alternately odd and even.

STATUS

proposed

editing

#4 by Paolo P. Lava at Tue Aug 27 06:04:51 EDT 2013
STATUS

editing

proposed

#3 by Paolo P. Lava at Tue Aug 27 06:03:50 EDT 2013
LINKS

Paolo P. Lava, <a href="/A228590/b228590.txt">Table of n, a(n) for n = 1..1000</a>

#2 by Paolo P. Lava at Tue Aug 27 06:00:13 EDT 2013
NAME

allocated for Paolo P. Lava

Starting from a(1)=1, a(n) is the minimum integer greater than a(n-1) such that a(n)+a(n-1), a(n)*a(n-1)+1 and a(n)*a(n-1)-1 are all primes.

DATA

1, 4, 15, 16, 27, 74, 375, 398, 465, 482, 945, 962, 1149, 1228, 1485, 1624, 1737, 1820, 1941, 1990, 2031, 2690, 2787, 3040, 3327, 3436, 3525, 3704, 3855, 3934, 4383, 4484, 4515, 4712, 6375, 6592, 7239, 7322, 7545, 7616, 7935, 8138, 9381, 9518, 11445, 11594

OFFSET

1,2

COMMENTS

Terms are one after the other odd and even.

EXAMPLE

a(4)=16 and 27 is the minimum integer greater than 16 such that 16+27=43, 16*27-1=431, 16*27+1=433 are all primes.

MAPLE

with(numtheory); P:=proc(q) local a, b, n; a:=1; b:=0; print(a);

for n from 1 to q do while not isprime(a+b) and not isprime (a*b+1) and not isprime (a*b-1) do

b:=b+2; od; print(b); a:=b; b:=b+1; od; print(); end: P(10^4);

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Paolo P. Lava, Aug 27 2013

STATUS

approved

editing

#1 by Paolo P. Lava at Tue Aug 27 05:50:51 EDT 2013
NAME

allocated for Paolo P. Lava

KEYWORD

allocated

STATUS

approved