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.

A334311 Starts of runs of 4 consecutive base phi Niven numbers (A334308).

Original entry on oeis.org

285129, 1958893, 2501533, 6488440, 7069840, 8803023, 16514327, 23826399, 34031773, 52256248, 68198847, 72969138, 76779087, 77622950, 87430210, 87474672, 96485487, 114137958, 120197293, 136275022, 151444458, 173740578, 174878352, 183872325, 188385855, 196268415
Offset: 1

Views

Author

Amiram Eldar, Apr 22 2020

Keywords

Examples

			285129 is a term since 285129, 285130, 285131 and 285132 are all base phi Niven numbers.
		

Crossrefs

Programs

  • Mathematica
    phiDigSum[1] = 1; phiDigSum[n_] := Plus @@ RealDigits[n, GoldenRatio, 2*Ceiling[ Log[GoldenRatio, n] ]][[1]]; phiNivenQ[n_] := Divisible[n, phiDigSum[n]]; q1 = phiNivenQ[1]; q2 = phiNivenQ[2]; q3 = phiNivenQ[3]; seq = {}; Do[q4 = phiNivenQ[n]; If[q1 && q2 && q3 && q4, AppendTo[seq, n - 3]]; q1 = q2; q2 = q3; q3 = q4, {n, 4, 10^5}]; seq