Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A154485
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A154485 a(n+1)-+a(n)=prime,a(0)=0,a(1)=3. +0
13
0, 3, 8, 11, 18, 23, 30, 37, 42, 47, 50, 53, 56, 75, 82, 85, 88, 91, 102, 109, 114, 119, 122, 129, 134, 137, 140, 143, 150, 157, 160, 171, 176, 183, 190, 193, 196, 201, 208, 211, 222, 227, 230, 233, 246, 253, 256, 267, 274, 297, 302, 305, 308, 311, 330, 343, 348 (list; graph; listen)
OFFSET

1,2

COMMENT

Sum and difference of any of two consecutive numbers in current sequence are prime numbers : 8-3=5;8+3=11, 11-8=3;11+8=19, 18-11=7;18+11=29,...

MATHEMATICA

a=0; b=3; lst={a, b}; Do[If[PrimeQ[n-b]&&PrimeQ[n+b], AppendTo[lst, n]; a=b; b=n], {n, b+1, 7!}]; lst

CROSSREFS

Cf. A154484

Sequence in context: A047470 A003623 A058572 this_sequence A105410 A114548 A022121

Adjacent sequences: A154482 A154483 A154484 this_sequence A154486 A154487 A154488

KEYWORD

nonn

AUTHOR

Vladimir Orlovsky (4vladimir(AT)gmail.com), Jan 10 2009

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 November 27 14:50 EST 2009. Contains 167570 sequences.


AT&T Labs Research