login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022447 Fractal sequence of the dispersion of the primes. 3
1, 1, 1, 2, 1, 3, 2, 4, 5, 6, 1, 7, 3, 8, 9, 10, 2, 11, 4, 12, 13, 14, 5, 15, 16, 17, 18, 19, 6, 20, 1, 21, 22, 23, 24, 25, 7, 26, 27, 28, 3, 29, 8, 30, 31, 32, 9, 33, 34, 35, 36, 37, 10, 38, 39, 40, 41, 42, 2, 43, 11, 44, 45, 46, 47, 48, 4, 49, 50, 51, 12, 52, 13, 53, 54, 55, 56, 57, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

REFERENCES

C. Kimberling, Fractal sequences and interspersions, Ars Combinatoria, vol. 45 p 157 1997.

LINKS

G. C. Greubel, Table of n, a(n) for n = 0..10000

C. Kimberling, Interspersions

MATHEMATICA

m = 30; list = Table[Length[NestWhileList[PrimePi, n, PrimeQ]], {n, m}]; Table[Length@Position[Take[list, k], list[[k]]], {k, Length[list]}] (* Birkas Gyorgy, Apr 04 2011 *)

primefractal[n_]:= (# - PrimePi[#]) &@NestWhile[PrimePi, n, PrimeQ]; Array[primefractal, 30] (* Birkas Gyorgy, Apr 04 2011 *)

CROSSREFS

Sequence in context: A227859 A026272 A193564 * A117194 A318746 A318729

Adjacent sequences:  A022444 A022445 A022446 * A022448 A022449 A022450

KEYWORD

nonn

AUTHOR

Clark Kimberling

EXTENSIONS

Terms a(67) onward added by G. C. Greubel, Feb 28 2018

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 14 09:49 EST 2018. Contains 317182 sequences. (Running on oeis4.)