A222962 Primes of the form kk*k+k+1, where kk is the concatenation of k with itself.
13, 47, 103, 181, 281, 547, 10111, 14557, 22741, 25873, 29207, 44563, 48907, 53453, 90931, 103457, 110023, 116791, 161641, 169823, 178207, 186793, 195581, 232753, 242551, 273157, 283763, 305581, 316793, 440023, 523657, 538303, 568201, 614563, 662743
Offset: 1
Examples
22741 is in the sequence because it is prime and 22741=1515*15+15+1.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: n in [0..100] | IsPrime(p) where p is Seqint(Intseq(n) cat Intseq(n))*n+n+1]; // Bruno Berselli, Mar 21 2013
-
Mathematica
f[n_] := FromDigits@Flatten@IntegerDigits[{n, n}] n + n + 1; Select[Table[f[n], {n, 100}], PrimeQ] (* Bruno Berselli, Mar 21 2013 *) Select[Table[n(n*10^IntegerLength[n]+n)+n+1,{n,100}],PrimeQ] (* Harvey P. Dale, Oct 29 2023 *)
Extensions
Edited by Bruno Berselli, Mar 22 2013
Comments