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!)
A265309 Numbers n such that (10^(n+4)*7 - 36763)/9 is prime (n > 0). 1
1, 2, 4, 7, 14, 17, 55, 61, 259, 269, 791, 3613, 6448, 8317, 18194, 32219 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers n such that '3693' appended to n times the digit 7 is prime. Up to a(15) nonprimes alternate with primes.
A(n) mod 3 -> {1, 2, 1, 1, 2, 2, 1, 1, 1, 2, 2, 1, 1, 1, 2, 2, ...?}.
LINKS
EXAMPLE
4 appears because 77773693 is prime ('7' concatenated 4 times and prepended to '3693') is prime).
MAPLE
A265309:= n->`if`(isprime((10^(n + 4) * 7 - 36763)/9), n, NULL):
seq(A265309(n), n=1..1000);
MATHEMATICA
Select[ Range[10^3], PrimeQ[(10^(# + 4) * 7 - 36763)/9] &]
PROG
(Magma)[n: n in[1 .. 1000] | IsPrime((10^(n+4) * 7 - 36763) div 9)];
(PARI) is(n)=isprime((10^(n+4)*7 - 36763)/9)
CROSSREFS
Cf. A260903.
Sequence in context: A222306 A248220 A018476 * A293825 A289050 A133638
KEYWORD
nonn,base,more
AUTHOR
Mikk Heidemaa, Dec 06 2015
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 July 24 15:34 EDT 2024. Contains 374584 sequences. (Running on oeis4.)