Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A073628
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A073628 a(0) = 0; a(1) = 1; a(2) = 2; a(n) = smallest number greater than the previous term such that the sum of three successive terms is a prime. +0
6
0, 1, 2, 4, 5, 8, 10, 11, 16, 20, 23, 24, 26, 29, 34, 38, 41, 48, 50, 51, 56, 60, 63, 68, 80, 81, 90, 92, 95, 96, 102, 109, 120, 124, 129, 130, 138, 141, 142, 148, 149, 152, 156, 159, 164, 168, 171, 182, 188, 193, 196, 198, 199, 202, 206, 209, 216, 218, 219, 222, 232 (list; graph; listen)
OFFSET

0,3

COMMENT

Slowest increasing sequence where 3 consecutive integers sum up to a prime.

In a string there can be at most two consecutive integers like 10,11 etc. More generally three consecutive terms can not be in A.P.

LINKS

Matthew M. Conroy, Home page (listed instead of email address)

EXAMPLE

0+1+2=3, which is prime; 1+2+4=7=prime; 2+4+5=11=prime, etc.

MATHEMATICA

n1 = 0; n2 = 1; counter = 1; maxnumber = 10^4; Do[ If[PrimeQ[n1 + n2 + n], {sol[counter] = n; counter = counter + 1; n1 = n2; n2 = n}], {n, 2, maxnumber}]; Table[sol[j], {j, 1, counter}]\) - Ben Ross (bmr180(AT)psu.edu), Jan 29 2006

CROSSREFS

Cf. A073627.

Sequence in context: A004612 A066208 A018699 this_sequence A067938 A018457 A046809

Adjacent sequences: A073625 A073626 A073627 this_sequence A073629 A073630 A073631

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Aug 08 2002

EXTENSIONS

More terms from Matthew M. Conroy, Sep 09 2002

Entry revised by N. J. A. Sloane (njas(AT)research.att.com), Mar 25 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 November 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research