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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067148 Fibonacci-like sequences. a(n) is the number of pairs of integers (n,i), 0<i<n, with Property F: i and n are consecutive terms i=b(j-1) and n=b(j), for some j>2, of a sequence {b(k)} satisfying b(1)=1, b(2)>0 and b(k)=b(k-1)+b(k-2) for all k>2. 2
0, 1, 1, 1, 2, 1, 2, 2, 2, 1, 3, 1, 3, 2, 2, 1, 3, 2, 2, 2, 3, 1, 4, 1, 2, 2, 2, 2, 4, 1, 2, 2, 3, 2, 3, 1, 3, 3, 2, 1, 3, 1, 3, 2, 3, 1, 4, 2, 2, 2, 2, 1, 5, 1, 3, 2, 2, 2, 3, 2, 3, 2, 3, 1, 3, 1, 2, 3, 3, 1, 3, 1, 4, 2, 2, 2, 4, 2, 2, 2, 2, 1, 4, 1, 3, 3, 2, 2, 4, 1, 2, 2, 4, 1, 3, 1, 3, 3, 3, 1, 4, 1, 3, 2, 2 (list; graph; refs; listen; history; internal format)
OFFSET

1,5

MATHEMATICA

a[ n_ ] := Module[ {}, If[ n==2, Return[ 1 ] ]; For[ f0=3; f1=2; f2=1; c=0, f0<=n, f0=(f2=f1)+(f1=f0), If[ Mod[ n-f0, f2 ]==0, c++ ] ]; c ]

CROSSREFS

Cf. A067149 gives the values of n at which record values of a(n) occur. See A067150 for a variation.

Sequence in context: A138553 A069016 A071414 * A035228 A035164 A023588

Adjacent sequences:  A067145 A067146 A067147 * A067149 A067150 A067151

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Jan 04 2002

EXTENSIONS

Edited by Dean Hickerson (dean.hickerson(AT)yahoo.com), Jan 17 2002

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 14 16:28 EST 2012. Contains 205635 sequences.