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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A307784 a(n) is the square root of A034175(n) + A034175(n+1). 1
1, 2, 3, 4, 5, 6, 5, 3, 4, 5, 4, 3, 4, 5, 6, 7, 8, 9, 8, 7, 8, 9, 10, 8, 5, 6, 7, 8, 9, 10, 9, 7, 8, 9, 8, 7, 8, 9, 10, 8, 5, 6, 7, 8, 9, 10, 9, 8, 9, 10, 11, 12, 13, 14, 13, 12, 11, 9, 10, 11, 12, 13, 12, 11, 12, 13, 14, 15, 14, 12, 13, 14, 13, 12, 11, 12, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The sum of two consecutive terms of A034175 is always a perfect square.
LINKS
FORMULA
a(n)^2 = A034175(n) + A034175(n+1).
EXAMPLE
For n = 12:
- A034175(12) + A034175(13) = 7 + 9 = 16 = 4^2,
- hence a(12) = 4.
PROG
(PARI) p=0; s=0; for (n=1, 77, s+=2^p; for (v=0, oo, if (!bittest(s, v) && issquare(p+v), print1 (sqrtint(p+v) ", "); p=v; break)))
CROSSREFS
Cf. A034175.
Sequence in context: A070667 A245349 A122416 * A134665 A271832 A063260
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 28 2019
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)