login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A071623 Least k such that n = A071532(k). 1
1, 4, 5, 6, 7, 8, 15, 18, 21, 22, 35, 64, 65, 130, 131, 160, 161, 170, 175, 186, 187, 190, 391, 392, 393, 508, 511, 514, 515, 516, 519, 530, 535, 536, 539, 540, 543, 552, 553, 566, 577, 584, 587, 588, 593, 594, 627, 630, 631, 636 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

For some n, a(n+1)-a(n)=1.

LINKS

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

PROG

(PARI) for(n=1, 50, s=1; while(abs(n+sum(i=1, s, sign((-1)^floor((3/2)^i))))>0, s++); print1(s, ", "))

CROSSREFS

Cf. A071532.

Sequence in context: A050038 A285218 A059709 * A274552 A280682 A140293

Adjacent sequences:  A071620 A071621 A071622 * A071624 A071625 A071626

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre, Jun 22 2002

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 September 20 22:20 EDT 2019. Contains 327252 sequences. (Running on oeis4.)