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”).

A058771
Numbers k such that k * (1+i)^k - 1 is a Gaussian prime.
0
2, 4, 8, 12, 25, 30, 47, 52, 61, 100, 108, 142, 150, 167, 198, 387, 407, 648, 782, 858, 1973, 2940, 2964, 3638, 4433, 4921, 14072, 27192, 37171, 41604, 48470, 72780
OFFSET
1,1
COMMENTS
Apparently uses a non-standard definition of a Gaussian prime. Let k*(1+i)^k-1 = a+b*i, then k is in this sequence if a+b*i is a Gaussian prime or b=0 and abs(a) is an ordinary prime. - Sean A. Irvine, Aug 13 2022
MATHEMATICA
Do[ If[ PrimeQ[ n * (1 + I)^n - 1], Print[n] ], {n, 1, 5000} ]
CROSSREFS
Sequence in context: A004653 A115386 A306491 * A358512 A036493 A082906
KEYWORD
nonn,more
AUTHOR
Robert G. Wilson v, Jan 02 2001
STATUS
approved