# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a076515 Showing 1-1 of 1 %I A076515 #43 Jul 29 2023 20:52:08 %S A076515 0,12,36,48,72,120,605376 %N A076515 Numbers k such that 1 + 3^k + 5^k is prime. %C A076515 Next term, if it exists, is greater than 35000. - _Vaclav Kotesovec_, Jan 26 2016 %C A076515 No more terms up to 75000 (previous range rechecked). All terms are multiples of 12: if k > 0 is not a multiple of 12, 1 + 3^k + 5^k is divisible by 3, 5 or 7. - _Rick L. Shepherd_, Aug 06 2017 %C A076515 Next term, if it exists, is greater than 10^6. - _Jon Grantham_, Jul 29 2023 %p A076515 A076515:=n->`if`(isprime(1+3^n+5^n), n, NULL): seq(A076515(n), n=0..200); # _Wesley Ivan Hurt_, Aug 06 2017 %t A076515 Do[ If[ PrimeQ[1 + 3^n + 5^n], Print[n]], {n, 0, 3500, 2}] %t A076515 Select[Range[0,5000],PrimeQ[1+3^#+5^#]&] (* _Harvey P. Dale_, Mar 09 2012 *) %o A076515 (Magma) [n: n in [0..1000]|IsPrime(3^n+5^n+1)] // _Vincenzo Librandi_, Jan 22 2011 %o A076515 (PARI) lista(nn) = for(n=0, nn, if(ispseudoprime(1 + 3^n + 5^n), print1(n, ", "))); \\ _Altug Alkan_, Jan 25 2016 %Y A076515 Cf. A008594, A074507, A268064, A268065, A268067. %K A076515 nonn,more %O A076515 1,2 %A A076515 _Zak Seidov_, Oct 17 2002 %E A076515 a(7) from _Jon Grantham_, Jul 29 2023 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE