|
|
A213536
|
|
Cousin prime recurrence sequence: a(1) = 14, and for n > 1, a(n) = a(n-1) + gcd(n+5, a(n-1)), if n is even, otherwise a(n) = a(n-1) + gcd(n+1, a(n-1)).
|
|
2
|
|
|
14, 21, 22, 23, 24, 25, 26, 39, 40, 45, 48, 49, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 111, 112, 113, 114, 115, 116, 117, 118, 119, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Conjecture: Record differences a(n) - a(n-1) (A213537) are a strict subset of the smaller of cousin primes (A023200). (Cousin primes differ by 4.)
Conjecture: Record differences are an infinite sequence. It is widely believed there are infinitely many cousin primes. (Similarly, by Dickson's conjecture and the second Hardy-Littlewood conjecture, there are infinitely many pairs of (not necessarily consecutive) primes (p, p+2k) for each natural number k.)
Conjecture: The following pattern makes sequences for every (necessarily even) difference (slight change for 2). For difference d, p is first prime > d that is the smaller of a prime pair (p, p+d). a(1) = 2p and a(n) = gcd(n+p-2, a(n-1)) for even n, otherwise gcd(n+p-2-d, a(n-1)).
|
|
LINKS
|
|
|
MAPLE
|
option remember;
if n = 1 then
14;
elif type(n, 'even') then
procname(n-1)+gcd(n+5, procname(n-1)) ;
else
procname(n-1)+gcd(n+1, procname(n-1)) ;
end if;
|
|
MATHEMATICA
|
nxt[{n_, a_}]:={n+1, If[OddQ[n], a+GCD[a, n+6], a+GCD[a, n+2]]}; Transpose[ NestList[nxt, {1, 14}, 60]][[2]] (* Harvey P. Dale, Jun 22 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|