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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131354 Number of primes in the open interval between successive tribonacci numbers. 1
0, 0, 0, 0, 1, 1, 1, 3, 5, 8, 12, 23, 38, 61, 109, 179, 312, 537, 920, 1598, 2779, 4835, 8461, 14784, 25984, 45696 (list; graph; refs; listen; history; internal format)
OFFSET

0,8

COMMENTS

This is to tribonacci numbers A000073 as A052011 is to Fibonacci numbers and as A052012 is to Lucas numbers A000204. It is mere coincidence that all values until a(12) = 38 are themselves Fibonacci. The formula plus the known asymptotic prime distribution gives the asymptotic approximation of this sequence, which is the same even if we use one of the alternative definitions of tribonacci with different initial values.

FORMULA

a(n) = A000720(A000073(n+1)) - A000720(A000073(n)), if both A000073 are nonprime.

EXAMPLE

Between Trib(8)=24 and Trib(9)=44 we find the following primes: 29, 31, 37, 41, 43, hence a(8)=5.

MAPLE

A131354 := proc(n)

    a := 0 ;

    for k from 1+A000073(n)  to A000073(n+1)-1 do

        if isprime(k) then

            a := a+1 ;

        end if;

    end do;

    a ;

end proc: # R. J. Mathar, Dec 14 2011

CROSSREFS

Cf. A000073, A092836, A052011, A052012, A056816.

Sequence in context: A147879 A147880 A020643 * A092360 A129141 A097431

Adjacent sequences:  A131351 A131352 A131353 * A131355 A131356 A131357

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Oct 21 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.