Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A080722
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A080722 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) == 1 mod 3". +0
1
0, 1, 3, 4, 7, 8, 9, 10, 13, 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 31, 34, 37, 40, 43, 46, 49, 52, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 85, 88, 91, 94, 97, 100, 103, 106, 109, 112, 115, 118, 121 (list; graph; listen)
OFFSET

0,3

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 >= 2.

PROGRAM

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

CROSSREFS

Cf. A079000, A080720, ...

Sequence in context: A086986 A057811 A026343 this_sequence A092754 A061094 A100991

Adjacent sequences: A080719 A080720 A080721 this_sequence A080723 A080724 A080725

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 08 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research