cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-12 of 12 results.

A080712 a(0) = 4; for n>0, a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) is a multiple of 3".

Original entry on oeis.org

4, 5, 7, 8, 9, 12, 13, 15, 18, 21, 22, 23, 24, 27, 28, 30, 31, 32, 33, 34, 35, 36, 39, 42, 45, 46, 47, 48, 51, 52, 54, 57, 60, 63, 66, 69, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 87, 90, 91, 92, 93, 96, 97, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111
Offset: 0

Views

Author

N. J. A. Sloane, Mar 05 2003

Keywords

Crossrefs

Programs

  • PARI
    {a=4; m=[4]; for(n=1,67,print1(a,","); a=a+1; if(m[1]==n, while(a%3>0,a++); m=if(length(m)==1,[],vecextract(m,"2..")),if(a%3==0,a++)); m=concat(m,a))}

Formula

a(a(n)) = 3*(n+3).

Extensions

More terms and PARI code from Klaus Brockhaus, Mar 06 2003

A242940 a(n) is the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a term of the sequence if and only if a(n) is a Fibonacci number".

Original entry on oeis.org

1, 2, 3, 6, 7, 8, 13, 21, 22, 23, 24, 25, 34, 35, 36, 37, 38, 39, 40, 41, 55, 89, 144, 233, 377, 378, 379, 380, 381, 382, 383, 384, 610, 987, 1597
Offset: 1

Views

Author

J. Lowell, Jun 12 2014

Keywords

Examples

			a(4) cannot be 5 because that would require 4 to be a term of this sequence.
		

Crossrefs

Previous Showing 11-12 of 12 results.