Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080726
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080726 a(0) = 0; for n>0, a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) == 2 mod 3". +0
1
0, 3, 4, 5, 8, 11, 12, 13, 14, 15, 16, 17, 20, 23, 26, 29, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 56, 59, 62, 65, 68, 71, 74, 77, 80, 83, 86, 89, 92, 95, 98, 101, 104, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119 (list; graph; listen)
OFFSET

0,2

LINKS

B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence, J. Integer Seqs., Vol. 6 (2003), #03.2.2.

B. Cloitre, N. J. A. Sloane and M. J. Vandermast, Numerical analogues of Aronson's sequence (math.NT/0305308)

Index entries for sequences of the a(a(n)) = 2n family

FORMULA

a(a(n)) = 3*n+2, n >= 1.

PROGRAM

(PARI) {a=0; m=[]; for(n=1, 66, print1(a, ", "); a=a+1; if(a%3==2&&a==n, qwqw=qwqw, if(m==[], while((a%3!=2&&a==n)||a%3==2, a++), if(m[1]==n, while(a%3!=2, a++); m=if(length(m)==1, [], vecextract(m, "2..")), if(a%3==2, a++))); m=concat(m, a)))}

CROSSREFS

Cf. A079000, A080720, ...

Sequence in context: A118250 A079136 A103329 this_sequence A101210 A047599 A050846

Adjacent sequences: A080723 A080724 A080725 this_sequence A080727 A080728 A080729

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Mar 08 2003

EXTENSIONS

More terms and PARI code from Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Mar 09 2003

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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research