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!)
A222962 Primes of the form kk*k+k+1, where kk is the concatenation of k with itself. 1
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Corresponding values of k are: 1, 2, 3, 4, 5, 7, 10, 12, 15, 16, 17, 21, 22, 23, 30, 32, 33, 34, 40, 41, 42, 43, 44, 48, 49, 52, 53, 55, 56, 66, 72, 73, 75, 78, 81, 82, 83, 92,...
a(7), a(43) and a(204) (see b-file) have the form 10^(3n+1)+10^(2n)+10^n+1 = (10^(n+1)*10^n+10^n)*10^n+10^n+1. The next term of this type is 10^247+10^164+10^82+1.
LINKS
EXAMPLE
22741 is in the sequence because it is prime and 22741=1515*15+15+1.
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 *)
PROG
(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
CROSSREFS
Sequence in context: A001662 A031390 A113943 * A004467 A261395 A141865
KEYWORD
nonn,base,easy
AUTHOR
Vincenzo Librandi, Mar 18 2013
EXTENSIONS
Edited by Bruno Berselli, Mar 22 2013
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 August 13 11:45 EDT 2024. Contains 375138 sequences. (Running on oeis4.)