login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A015945
Positive integers n such that n | (2^n + n/2 + 1).
2
2, 10, 50, 250, 410, 1250, 2050, 5050, 6250, 10250, 16810, 25250, 31250, 51250, 84050, 126250, 156250, 207050, 256250, 336610, 405050, 420250, 510050, 631250, 689210, 781250, 1035250, 1281250, 1683050, 1750250, 2025250, 2101250, 2550250, 3156250, 3446050
OFFSET
1,1
FORMULA
a(n) = 2 * A015950(n). - Max Alekseyev, Aug 04 2011
PROG
(Python)
A015945_list = [n for n in range(2, 10**6, 2) if pow(2, n, n) == n//2-1] # Chai Wah Wu, Mar 25 2021
CROSSREFS
Sequence in context: A371605 A180266 A355352 * A015954 A015949 A020699
KEYWORD
nonn
STATUS
approved