login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A224471 Numbers n such that 8^n - n is prime. 3
1, 3, 37, 45, 597, 1131, 14203, 112539 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(8) > 41000. - Giovanni Resta, Apr 07 2013
a(9) > 2*10^5. - Robert Price, Jan 19 2014
LINKS
PROG
(Java)
import java.math.BigInteger;
public class A224471 {
public static void main (String[] args) {
BigInteger b8 = BigInteger.valueOf(8);
BigInteger m = BigInteger.valueOf(64);
for(long n=1; ; n+=2) {
BigInteger b = b8.subtract(BigInteger.valueOf(n));
if (b.isProbablePrime(2)) {
if (b.isProbablePrime(80))
System.out.printf("%d\n", n);
}
b8 = b8.multiply(m);
}
}
}
(PARI) forstep(n=1, 10^4, 2, if(ispseudoprime(8^n-n), print1(n, ", "))); /* Joerg Arndt, Apr 07 2013 */
CROSSREFS
Sequence in context: A037000 A042333 A106103 * A286637 A106996 A338751
KEYWORD
nonn,hard,more
AUTHOR
Alex Ratushnyak, Apr 06 2013
EXTENSIONS
a(7) from Giovanni Resta, Apr 07 2013
a(8) from Robert Price, Jan 19 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 08:39 EDT 2024. Contains 371782 sequences. (Running on oeis4.)