|
Search: id:A154493
|
|
|
| A154493 |
|
a(n+1)-+a(n)=prime, a(n+1)*a(n)=Average of twin prime pairs, a(0)=1,a(1)=4. |
|
+0 9
|
|
| 1, 4, 15, 28, 39, 50, 81, 350, 459, 512, 675, 944, 987, 1040, 1917, 1936, 2325, 2378, 2421, 2588, 2745, 2812, 3459, 3488, 3495, 3506, 5667, 5804, 6027, 6074, 24765, 24832, 25479, 25552, 27621, 27848, 27951, 27980, 34101, 34720, 34773, 35344
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Sum and difference of any of two consecutive numbers in current sequence are prime numbers and multiplication and any two consecutive numbers is Average of twin prime pairs : 4-1=3;4+1=5;4*1=4, 15-4=11;15+4=19;15*4=60, ...
|
|
MATHEMATICA
|
a=1; b=4; lst={a, b}; Do[If[PrimeQ[n-b]&&PrimeQ[n+b]&&PrimeQ[n*b-1]&&PrimeQ[n*b+1], AppendTo[lst, n]; a=b; b=n], {n, b+1, 9!}]; lst
|
|
CROSSREFS
|
Cf. A154484, A154485, A154486, A154487, A154488
Sequence in context: A061873 A017437 A030553 this_sequence A031012 A121914 A110341
Adjacent sequences: A154490 A154491 A154492 this_sequence A154494 A154495 A154496
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Vladimir Orlovsky (4vladimir(AT)gmail.com), Jan 10 2009
|
|
|
Search completed in 0.002 seconds
|