Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124284
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124284 Prime(4almostprime(n))-4almostprime(prime(n)). Commutator [A000040,A014613] at n. +0
8
29, 53, 97, 113, 161, 159, 145, 269, 244, 232, 231, 247, 261, 373, 399, 386, 328, 350, 375, 371, 395, 547, 559, 572, 537, 541, 577, 635, 679, 663, 607, 621, 687, 673, 658, 769, 871, 853, 839, 856, 832, 881, 947, 939, 1003, 1007, 955, 915, 907, 889, 941, 989 (list; graph; listen)
OFFSET

1,1

LINKS

Robert G. Wilson v, Table of n, a(n) for n=1..1000

FORMULA

a(n) = prime(4almostprime(n)) - 4almostprime(prime(n)) = A000040(A014613(n)) -A014613(A000040(n)).

EXAMPLE

a(1) = prime(4almostprime(1)) - 4almostprime(prime(1)) = 53 - 24 = 29.

a(2) = prime(4almostprime(2)) - 4almostprime(prime(2)) = 89 - 36 = 53.

a(3) = prime(4almostprime(3)) - 4almostprime(prime(3)) = 151 - 54 = 97.

It is mere coincidence that the first 4 values are all primes.

MATHEMATICA

FourAlmostPrimePi[n_] := Sum[PrimePi[n/(Prime@i*Prime@j*Prime@k)] - k + 1, {i, PrimePi[n^(1/4)]}, {j, i, PrimePi[(n/Prime@i)^(1/3)]}, {k, j, PrimePi@ Sqrt[n/(Prime@i*Prime@j)]}];

FourAlmostPrime[n_] := Block[{e = Floor[Log[2, n] + 1], a, b}, a = 2^e; Do[b = 2^p; While[ FourAlmostPrimePi@a < n, a = a + b]; a = a - b/2, {p, e, 0, -1}]; a + b/2];

Table[ Prime@ FourAlmostPrime@ n - FourAlmostPrime@ Prime@ n, {n, 52}]

CROSSREFS

Cf. Primes indexed by 4-almost primes = A124282. 4-almost primes indexed by primes = A124283. Primes indexed by 3-almost primes = A124268. 3-almost primes indexed by primes = A124269. prime(3almostprime(n)) - 3almostprime(prime(n)) = A124270. See also A106349 Primes indexed by semiprimes. See also A106350 Semiprimes indexed by primes. See also A122824 Prime(semiprime(n)) - semiprime(prime(n)).

Cf. A000040, A014613, A114414, A122824, A124269, A124270, A124282, A124283.

Sequence in context: A134555 A117328 A105406 this_sequence A054822 A034847 A139925

Adjacent sequences: A124281 A124282 A124283 this_sequence A124285 A124286 A124287

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost2(AT)yahoo.com), Oct 24 2006

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 31 2007

page 1

Search completed in 0.003 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research