# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a056994 Showing 1-1 of 1 %I A056994 #23 Apr 03 2022 10:30:39 %S A056994 1,120,190,234,506,532,548,960,1738,1786,2884,3000,3420,3476,3658, %T A056994 4258,5788,6080,6562,6750,7692,8296,9108,9356,9582,9706,10238,10994, %U A056994 11338,11432,11466,11554,11778,12704,12766,13082,13478,13700 %N A056994 Numbers k such that k^128 + 1 is prime. %D A056994 Dubner, Harvey. "Generalized Fermat primes." J. Recreational Math., 18 (1985): 279-280. %H A056994 Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from T. D. Noe) %H A056994 Yves Gallot, Generalized Fermat Prime Search. %t A056994 Do[ k = 1; While[ PowerMod[ n, 128, 2*k*128 + 1 ] != 2*k*128 && k < 10^3, k++ ]; If[ k == 10^3 && PrimeQ[ n^128 + 1 ], Print[ n ] ], {n, 2, 15000, 2} ] %o A056994 (PARI) isA056994(n) = isprime(n^128+1) \\ _Michael B. Porter_, Mar 30 2010 %Y A056994 Cf. A005574, A000068, A006314, A006313, A006315, A006316, A056995, A057465, A057002, A088361, A088362, A226528, A226529, A226530, A251597, A253854, A244150, A243959, A321323. %K A056994 nonn %O A056994 1,2 %A A056994 _Robert G. Wilson v_, Sep 06 2000 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE