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!)
A015942 Positive integers n such that n | (2^n + n/2 - 1). 1

%I

%S 6,18,42,54,126,162,294,342,378,486,882,1026,1134,1314,1458,1806,2058,

%T 2394,2646,3078,3402,3942,4374,5334,5418,6174,6498,7182,7938,9198,

%U 9234,10206,11826,12642,13122,14154,14406,16002,16254,16758

%N Positive integers n such that n | (2^n + n/2 - 1).

%F a(n) = 2 * A014945(n). [_Max Alekseyev_, Aug 04 2011]

%o (Python)

%o A015942_list = [n for n in range(2,10**6,2) if pow(2,n,n) == n//2+1] # _Chai Wah Wu_, Mar 25 2021

%Y Cf. A015945.

%K nonn,easy

%O 1,1

%A _Robert G. Wilson v_

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 06:18 EDT 2021. Contains 343909 sequences. (Running on oeis4.)