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!)
A112047 Bisection of A112046. 4
2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 11, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Indranil Ghosh, Table of n, a(n) for n = 1..1000

FORMULA

a(n) = A112046(2n-1)

MATHEMATICA

a112046[n_]:=Block[{i=1}, While[JacobiSymbol[i, 2n + 1]==1, i++]; i]; Table[a112046[2n - 1], {n, 102}] (* Indranil Ghosh, May 11 2017 *)

PROG

(Python)

from sympy import jacobi_symbol as J

def a112046(n):

    i=1

    while True:

        if J(i, 2*n + 1)!=1: return i

        else: i+=1

print([a112046(2*n - 1) for n in range(1, 103)]) # Indranil Ghosh, May 11 2017

CROSSREFS

Cf. A112046, A112048, A112053.

Sequence in context: A236454 A053669 A342309 * A112048 A060395 A016026

Adjacent sequences:  A112044 A112045 A112046 * A112048 A112049 A112050

KEYWORD

nonn,changed

AUTHOR

Antti Karttunen, Aug 27 2005

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 May 15 01:35 EDT 2021. Contains 343909 sequences. (Running on oeis4.)