login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080704 a(1)=2; for n>1, if n is in the sequence then a(n) is the smallest even integer > a(n-1), otherwise a(n) = a(n-1) + 3. 2
2, 4, 7, 8, 11, 14, 16, 18, 21, 24, 26, 29, 32, 34, 37, 38, 41, 42, 45, 48, 50, 53, 56, 58, 61, 62, 65, 68, 70, 73, 76, 78, 81, 82, 85, 88, 90, 92, 95, 98, 100, 102, 105, 108, 110, 113, 116, 118, 121, 122, 125, 128, 130, 133, 136, 138, 141, 142, 145, 148 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..60.

FORMULA

It seems that a(n)/n -> 2.4799.... = 62/25 ?

PROG

(PARI) for(n=2, 400, an[n]=if(setsearch(Set(vector(n-1, i, a(i))), n), if(a(n-1)%2, a(n-1)+1, a(n-1)+2), a(n-1)+3))

CROSSREFS

Cf. A080705, A064437, A080717.

Sequence in context: A030355 A288307 A286060 * A316094 A290259 A244779

Adjacent sequences:  A080701 A080702 A080703 * A080705 A080706 A080707

KEYWORD

nonn,easy

AUTHOR

Benoit Cloitre, Mar 01 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 14 01:17 EDT 2021. Contains 345016 sequences. (Running on oeis4.)