A272892 Taxi-cab numbers n such that n-1 and n+1 are both prime.
32832, 513000, 2101248, 8647128, 43570872, 46661832, 152275032, 166383000, 175959000, 351981000, 543449088, 610991208, 809557632, 970168752, 1710972648, 2250265752, 2262814272, 2560837032, 3222013032, 3308144112, 3582836712, 4505949000, 4543936488, 4674301632, 4868489178
Offset: 1
Keywords
Examples
Taxi-cab number 32832 is a term because 32831 and 32833 are twin primes.
Links
- Chai Wah Wu, Table of n, a(n) for n = 1..6385 a(n) for n = 1..88 from Charles R Greathouse IV
Programs
-
PARI
T=thueinit(x^3+1,1); isA001235(n)=my(v=thue(T,n)); sum(i=1,#v,v[i][1]>=0 && v[i][2]>=v[i][1])>1 p=2; forprime(q=3,1e9, if(q-p==2 && isA001235(p+1), print1(p+1", ")); p=q) \\ Charles R Greathouse IV, May 09 2016
Extensions
a(7)-a(25) from Charles R Greathouse IV, May 09 2016
Comments