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.

Showing 1-2 of 2 results.

A038868 If a Fibonacci sequence is formed with first term = number of digits in n and second term = sum of decimal digits in n, then n itself occurs as a term in the sequence after the first two terms.

Original entry on oeis.org

16, 21, 25, 50, 66, 102, 115, 154, 193, 291, 471, 573, 675, 777, 879, 2372, 3668, 4770, 6867, 22502, 22790, 32084, 41666, 46457, 167151, 331341, 490740, 1750051, 2125176, 2275226, 2425276, 2575326, 2725376, 2875426, 22597419, 73941113, 167637057, 188784525
Offset: 1

Views

Author

Keywords

Examples

			16 is a member because 2,7,9,16,25,... does contain 16.
		

Crossrefs

Programs

  • Mathematica
    aQ[n_] := Module[{d = IntegerDigits[n], a}, a[1] = Length[d]; a[2] = Total[d]; a[k_] := a[k] = a[k - 1] + a[k - 2]; k = 1; While[a[k] <= n, k++]; k--; k > 2 && a[k] == n]; Select[Range[1000], aQ] (* Amiram Eldar, Feb 17 2019 *)
    gen[d_, s_, mx_] := Block[{a=d, b=s, v = {}, t}, While[True, t=a+b; If[t <= mx, If[d == IntegerLength@ t && s == Total@ IntegerDigits@ t, AppendTo[v, t]], Break[]]; a=b; b=t]; v]; upto[mxd_] := Sort@ Flatten@ Table[gen[d, s, 10^d], {d, mxd}, {s, 9*d}]; upto[20] (* terms < 10^20, Giovanni Resta, Feb 18 2019 *)

Extensions

Corrected and extended by Larry Reeves (larryr(AT)acm.org), Sep 28 2000
a(37)-a(38) from Amiram Eldar, Feb 17 2019

A121235 Multiply-Add Recurrence Invariant (MARI) numbers.

Original entry on oeis.org

14, 19, 28, 47, 61, 75, 191, 197, 205, 242, 302, 515, 742, 1064, 1104, 1220, 1266, 1537, 1757, 1981, 2208, 2580, 3505, 3684, 4484, 4608, 4788, 6702, 7385, 7647, 7909, 8180, 13614, 14327, 15557, 22251, 24377, 29662, 31331, 34285, 34348, 35577, 39323
Offset: 1

Views

Author

R. J. Mathar, Aug 21 2006

Keywords

Comments

Contains A042983 and A007629 as subsets.

Crossrefs

Showing 1-2 of 2 results.