The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A340507 a(n) = floor(sqrt(2*n)) - A003056(n). 1
 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0 COMMENTS This is A172471 - A003056. Conjecture: This is an unsigned version of A072785. LINKS Alois P. Heinz, Table of n, a(n) for n = 0..20000 PROG (PARI) a(n) = sqrtint(2*n) - (sqrtint(8*n+1)-1)\2; \\ Michel Marcus, Jan 25 2021 (Python) from math import isqrt def A340507(n): return isqrt(m:=n<<1)-(isqrt((m<<2)+1)-1>>1) # Chai Wah Wu, Aug 09 2022 CROSSREFS Cf. A003056, A072785, A172471. Sequence in context: A288520 A285177 A144595 * A072785 A188297 A289128 Adjacent sequences:  A340504 A340505 A340506 * A340508 A340509 A340510 KEYWORD nonn,changed AUTHOR N. J. A. Sloane, Jan 25 2021 STATUS approved

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

Last modified August 18 04:47 EDT 2022. Contains 356204 sequences. (Running on oeis4.)