login
A166480
Greater of twin primes, written in base 6.
0
5, 11, 21, 31, 51, 111, 141, 201, 251, 301, 351, 411, 501, 521, 531, 1021, 1041, 1131, 1151, 1241, 1341, 1541, 2001, 2051, 2231, 2351, 2441, 2511, 2551, 3021, 3431, 3451, 3501, 3551, 4031, 4421, 4441, 4511, 4531, 5021, 5201, 5411, 5531, 5551, 10011
OFFSET
1,1
COMMENTS
All but the first value are of the form 6n+1; hence in base 6 end each ends with the digit 1.
FORMULA
a(n) = A007092(A006512(n)) = A007092(A166479(n)+2).
MATHEMATICA
FromDigits[IntegerDigits[#, 6]]&/@Select[Partition[Prime[Range[300]], 2, 1], #[[2]]-#[[1]] == 2&][[All, 2]] (* Harvey P. Dale, Jun 02 2022 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Oct 14 2009
EXTENSIONS
Extended by R. J. Mathar, Oct 16 2009
Comment amended by Harvey P. Dale, Jun 02 2022
STATUS
approved