login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114313 Difference between first odd semiprime >= 5^n and 5^n. 0
8, 4, 0, 4, 4, 2, 2, 2, 4, 4, 2, 2, 4, 14, 4, 2, 18, 6, 2, 12, 16, 2, 4, 2, 42, 6, 4, 2, 22, 26, 12, 18, 18, 38, 12, 14, 2, 6, 36, 2, 16, 24, 6, 14, 12, 6, 28, 24, 24, 8, 16, 32, 16, 28, 12, 8, 16, 6, 16, 98 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

A098147 is difference between first odd semiprime > 10^n and 10^n.

LINKS

Table of n, a(n) for n=0..59.

FORMULA

a(n) = minimum integer k such that 5^n + k is an element of A046315. a(n) = minimum integer k such that A000351(n) + k is an element of A046315.

EXAMPLE

a(0) = 8 because 5^0 + 8 = 9 = 3^2 is an odd semiprime; note that because 5^0 + 3 = 4 = 2^2 is an even semiprime, but we only care about odd semiprimes here.

a(1) = 4 because 5^1 + 4 = 9 = 3^2 is an odd semiprime.

a(2) = 0 because 5^2 + 0 = 25 = 5^2 is an odd semiprime; there are no more zero values.

a(3) = 4 because 5^3 + 4 = 129 = 3 * 43.

a(4) = 4 because 5^4 + 4 = 629 = 17 * 37.

a(5) = 2 because 5^5 + 2 = 3127 = 53 * 59.

a(6) = 2 because 5^6 + 2 = 15627 = 3 * 5209.

a(7) = 2 because 5^7 + 2 = 78127 = 7 * 11161.

a(8) = 4 because 5^8 + 4 = 390629 = 577 * 677 (brilliant).

a(9) = 4 because 5^9 + 4 = 1953129 = 3 * 651043.

MATHEMATICA

dfpsn[n_]:=Module[{n5=5^n, s}, s=If[OddQ[n5], n5, n5+1]; While[PrimeOmega[s] != 2, s=s+2]; s-n5]; Array[dfpsn, 60, 0] (* Harvey P. Dale, Sep 04 2013 *)

CROSSREFS

Cf. A000351, A001358, A098147.

Sequence in context: A200108 A088397 A021123 * A096616 A151558 A103613

Adjacent sequences:  A114310 A114311 A114312 * A114314 A114315 A114316

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post, Feb 05 2006

EXTENSIONS

Corrected and extended by Harvey P. Dale, Sep 04 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 01:31 EDT 2020. Contains 336361 sequences. (Running on oeis4.)