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.

A242800 Numbers n such that (n^n+3)/(n+3) is an integer.

This page as a plain text file.
%I A242800 #13 Jan 19 2015 13:53:01
%S A242800 1,3,4,5,9,13,17,21,25,37,41,45,49,57,65,73,77,89,109,113,117,121,145,
%T A242800 151,161,169,185,205,209,233,237,241,261,265,277,281,289,313,329,337,
%U A242800 353,361,385,401,409,425,433,449,481,489,505,517,521,545,553,586,593
%N A242800 Numbers n such that (n^n+3)/(n+3) is an integer.
%H A242800 Chai Wah Wu, <a href="/A242800/b242800.txt">Table of n, a(n) for n = 1..10000</a>
%e A242800 (4^4+3)/(4+3) = 259/7 = 37 is an integer. Thus 4 is a member of this sequence.
%o A242800 (PARI) for(n=1,10^3,s=(n^n+3)/(n+3);if(floor(s)==s,print1(n, ", ")))
%o A242800 (Python)
%o A242800 A242800_list = [n for n in range(10**6) if pow(n, n, n+3) == n] # _Chai Wah Wu_, Jan 19 2015
%K A242800 nonn
%O A242800 1,2
%A A242800 _Derek Orr_, May 23 2014
%E A242800 a(4) corrected by _Chai Wah Wu_, Jan 19 2015