cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A156038 Odd numbers k with the property that (2^k + k^2) == 0 (mod (k+2)).

This page as a plain text file.
%I A156038 #15 Aug 19 2021 21:24:16
%S A156038 1,32377,484177,3094247,10908137,15612137,16750127,17363927,24827519,
%T A156038 34030327,184923407,219087767,240654017,430450337,814220815,989880257,
%U A156038 1040713247,1257956527,1839451007,2255176457,2314599527,3034111727,3254592497,3534277217,3569817127
%N A156038 Odd numbers k with the property that (2^k + k^2) == 0 (mod (k+2)).
%C A156038 Odd terms in A114977.
%H A156038 Alois P. Heinz, <a href="/A156038/b156038.txt">Table of n, a(n) for n = 1..75</a> [using data from A114977]
%o A156038 (PARI) isok(n) = (n%2) && ((2^n+n^2)% (n+2) == 0); \\ _Michel Marcus_, Oct 19 2013
%o A156038 (PARI) is(n)=Mod(2, n+2)^n==-4 && n%2 \\ _Charles R Greathouse IV_, Oct 19 2013
%Y A156038 Cf. A114977.
%K A156038 nonn
%O A156038 1,2
%A A156038 _Zak Seidov_, Oct 30 2009