login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A166499
Concatenation of the rightmost digit of the n-th prime and the leftmost digit of the (n+1)th prime.
5
23, 35, 57, 71, 11, 31, 71, 92, 32, 93, 13, 74, 14, 34, 75, 35, 96, 16, 77, 17, 37, 98, 38, 99, 71, 11, 31, 71, 91, 31, 71, 11, 71, 91, 91, 11, 71, 31, 71, 31, 91, 11, 11, 31, 71, 92, 12, 32, 72, 92, 32, 92, 12, 12, 72, 32, 92, 12, 72, 12, 32, 33, 73, 13, 33, 73, 13, 73, 73
OFFSET
1,1
COMMENTS
This is the comma transform of the primes (see A367360).
LINKS
FORMULA
a(n) = 10 * A007652(n) + A077648(n+1). - Alois P. Heinz, Nov 23 2023
MAPLE
a:= n-> parse(cat(""||(ithprime(n))[-1], ""||(ithprime(n+1))[1])):
seq(a(n), n=1..99); # Alois P. Heinz, Nov 22 2023
MATHEMATICA
With[{nmax=100}, Map[10Mod[#[[1]], 10]+IntegerDigits[#[[2]]][[1]]&, Partition[Prime[Range[nmax+1]], 2, 1]]] (* Paolo Xausa, Nov 24 2023 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Oct 15 2009
STATUS
approved